This commit is contained in:
xinkl
2025-11-09 14:23:43 +08:00
parent ad313b41cd
commit ad7cddbc3f
25 changed files with 1896 additions and 567 deletions

View File

@@ -5,7 +5,7 @@ public class LaunchManager : SceneSingleton<LaunchManager>
{
private async void Start()
{
UIManager.instance.Init();
UIManager.instance?.Init();
await UIManager.instance.ShowPanel<LaunchPanel>();
}

View File

@@ -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);
}
}