update basic sample

pull/51/head
hevinci 2022-10-21 18:36:28 +08:00
parent bb64ff7278
commit d61c723933
1 changed files with 0 additions and 3 deletions

View File

@ -53,7 +53,6 @@ public class BootScene : MonoBehaviour
if (PlayMode == EPlayMode.EditorSimulateMode) if (PlayMode == EPlayMode.EditorSimulateMode)
{ {
var createParameters = new EditorSimulateModeParameters(); var createParameters = new EditorSimulateModeParameters();
createParameters.LocationServices = new AddressLocationServices();
createParameters.SimulatePatchManifestPath = EditorSimulateModeHelper.SimulateBuild("DefaultPackage"); createParameters.SimulatePatchManifestPath = EditorSimulateModeHelper.SimulateBuild("DefaultPackage");
yield return defaultPackage.InitializeAsync(createParameters); yield return defaultPackage.InitializeAsync(createParameters);
} }
@ -62,7 +61,6 @@ public class BootScene : MonoBehaviour
if (PlayMode == EPlayMode.OfflinePlayMode) if (PlayMode == EPlayMode.OfflinePlayMode)
{ {
var createParameters = new OfflinePlayModeParameters(); var createParameters = new OfflinePlayModeParameters();
createParameters.LocationServices = new AddressLocationServices();
yield return defaultPackage.InitializeAsync(createParameters); yield return defaultPackage.InitializeAsync(createParameters);
} }
@ -70,7 +68,6 @@ public class BootScene : MonoBehaviour
if (PlayMode == EPlayMode.HostPlayMode) if (PlayMode == EPlayMode.HostPlayMode)
{ {
var createParameters = new HostPlayModeParameters(); var createParameters = new HostPlayModeParameters();
createParameters.LocationServices = new AddressLocationServices();
createParameters.QueryServices = new QueryStreamingAssetsFileServices(); createParameters.QueryServices = new QueryStreamingAssetsFileServices();
createParameters.DefaultHostServer = GetHostServerURL(); createParameters.DefaultHostServer = GetHostServerURL();
createParameters.FallbackHostServer = GetHostServerURL(); createParameters.FallbackHostServer = GetHostServerURL();