yyl
2025-09-15 ee81928228fcf1f5e3496cb1be1ddb9c0d6dc0f5
Main/Manager/StageManager.cs
@@ -36,6 +36,11 @@
    {
        UIManager.Instance.DestroyAllUI();
        if (AssetSource.isUseAssetBundle)
        {
            AssetBundleUtility.Instance.Sync_LoadAll("maps/Login");
        }
        AsyncOperation asyncOperation = SceneManager.LoadSceneAsync("Login");
        await OnLoading(asyncOperation, ConfigManager.Instance.GetLoadingProgress, Main.InitManagers);
@@ -76,6 +81,10 @@
        BeforeLoadingGameScene?.Invoke();
        // ResManager.Instance.PrewarmResources();
        if (AssetSource.isUseAssetBundle)
        {
            AssetBundleUtility.Instance.Sync_LoadAll("maps/Game");
        }
        AsyncOperation asyncOperation = SceneManager.LoadSceneAsync("Game");