temp
This commit is contained in:
@@ -5,7 +5,7 @@ public class LaunchManager : SceneSingleton<LaunchManager>
|
||||
{
|
||||
private async void Start()
|
||||
{
|
||||
UIManager.instance.Init();
|
||||
UIManager.instance?.Init();
|
||||
|
||||
await UIManager.instance.ShowPanel<LaunchPanel>();
|
||||
}
|
||||
|
||||
@@ -11,6 +11,6 @@ public static class StageSelector
|
||||
loadingPanel = await UIManager.instance.InitPanel<LoadingPanel>();
|
||||
}
|
||||
UIManager.instance.DestroyAllExceptLoading();
|
||||
SceneLoader.instance.LoadScene(sceneName, loadingPanel);
|
||||
SceneLoader.instance?.LoadScene(sceneName, loadingPanel);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user