11
This commit is contained in:
parent
154c588a33
commit
5ac42261ba
@ -17,7 +17,7 @@ namespace Unity.Startup.Procedure
|
||||
|
||||
public static void Start()
|
||||
{
|
||||
eventRuntimeHandle = EventPublisher.Subscribe<AssetDownloadProgressUpdateEventArgs>(SetProgressUpdate);
|
||||
eventRuntimeHandle = EventBus.Subscribe<AssetDownloadProgressUpdateEventArgs>(SetProgressUpdate);
|
||||
GameApp.UI.ShowUI<UIGameLaunchWindow>();
|
||||
}
|
||||
|
||||
|
||||
@ -71,7 +71,7 @@ namespace Unity.Startup.Procedure
|
||||
|
||||
private void OnDownloadProgressCallback(DownloadUpdateData data)
|
||||
{
|
||||
EventPublisher.Publish(AssetDownloadProgressUpdateEventArgs.Create(data.PackageName, data.TotalDownloadCount, data.CurrentDownloadCount, data.TotalDownloadBytes, data.CurrentDownloadBytes));
|
||||
EventBus.Publish(AssetDownloadProgressUpdateEventArgs.Create(data.PackageName, data.TotalDownloadCount, data.CurrentDownloadCount, data.TotalDownloadBytes, data.CurrentDownloadBytes));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -32,10 +32,9 @@ namespace Unity.Startup.Procedure
|
||||
#if UNITY_EDITOR
|
||||
UnityEditor.EditorApplication.isPlaying = false;
|
||||
#else
|
||||
Application.OpenURL(StartupSetting.AppDownloadUrl);
|
||||
Application.Quit();
|
||||
Utility.Platform.OpenURL(StartupSetting.AppDownloadUrl);
|
||||
Utility.Platform.Quit();
|
||||
#endif
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit b01ada2f40937d37c9ad952ea46250a9253272fc
|
||||
Subproject commit d5518c46b1d84f3103ad49d35eff6889e93e5b4a
|
||||
Loading…
Reference in New Issue
Block a user