安卓版问题修复

This commit is contained in:
2025-12-22 19:01:26 +08:00
parent afa2e251df
commit 5c65e6d4ee
43 changed files with 2138 additions and 38 deletions
+5
View File
@@ -7,6 +7,7 @@ using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.SceneManagement;
using DG.Tweening;
using AibisDream.UI;
namespace AibisDream
{
@@ -52,6 +53,8 @@ namespace AibisDream
// 场景转换参数
_isLoading = true;
_sceneToLoad = targetScene;
UIManager.Instance.GetPanel<InfoPanel>().ShowLoading();
// 在卸载场景前清理所有系统
if (!string.IsNullOrEmpty(_data.sceneName))
@@ -73,6 +76,8 @@ namespace AibisDream
EnumEventSystem.Global.Send(EventEnum.SceneLoad, _sceneToLoad);
_data.sceneName = _sceneToLoad;
UIManager.Instance.GetPanel<InfoPanel>().HideLoading();
_isLoading = false;
}
}