From d61c723933d3404fa7b5e4f39b8267dacee828bb Mon Sep 17 00:00:00 2001 From: hevinci Date: Fri, 21 Oct 2022 18:36:28 +0800 Subject: [PATCH] update basic sample --- .../Samples~/Basic Sample/GameScript/Runtime/BootScene.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs index 4c93a50..8a61b7e 100644 --- a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs +++ b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs @@ -53,7 +53,6 @@ public class BootScene : MonoBehaviour if (PlayMode == EPlayMode.EditorSimulateMode) { var createParameters = new EditorSimulateModeParameters(); - createParameters.LocationServices = new AddressLocationServices(); createParameters.SimulatePatchManifestPath = EditorSimulateModeHelper.SimulateBuild("DefaultPackage"); yield return defaultPackage.InitializeAsync(createParameters); } @@ -62,7 +61,6 @@ public class BootScene : MonoBehaviour if (PlayMode == EPlayMode.OfflinePlayMode) { var createParameters = new OfflinePlayModeParameters(); - createParameters.LocationServices = new AddressLocationServices(); yield return defaultPackage.InitializeAsync(createParameters); } @@ -70,7 +68,6 @@ public class BootScene : MonoBehaviour if (PlayMode == EPlayMode.HostPlayMode) { var createParameters = new HostPlayModeParameters(); - createParameters.LocationServices = new AddressLocationServices(); createParameters.QueryServices = new QueryStreamingAssetsFileServices(); createParameters.DefaultHostServer = GetHostServerURL(); createParameters.FallbackHostServer = GetHostServerURL();