安卓版问题修复
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user