Jelajahi Sumber

Fix API call, get Android build closer to building.

CartBlanche 1 Minggu lalu
induk
melakukan
beab7e5ce2

+ 1 - 1
NetworkPrediction/Core/NetworkPredictionGame.cs

@@ -351,7 +351,7 @@ namespace NetworkPrediction
                 NetworkGamer sender;
 
                 // Read a single packet from the network.
-                gamer.ReceiveData(out packetReader, out sender);
+                gamer.ReceiveData(packetReader, out sender);
 
                 // Discard packets sent by local gamers: we already know their state!
                 if (sender.IsLocal)

+ 1 - 1
NetworkPrediction/Platforms/Android/NetworkPrediction.Android.csproj

@@ -8,7 +8,7 @@
     <AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk>
     <AndroidApplication>true</AndroidApplication>
     <RuntimeIdentifiers>android-arm;android-arm64;android-x86;android-x64</RuntimeIdentifiers>
-    <AndroidManifest>Platforms\Android\AndroidManifest.xml</AndroidManifest>
+    <AndroidManifest>AndroidManifest.xml</AndroidManifest>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <Title>Network Prediction</Title>
     <Product>NetworkPrediction</Product>