【Bug】UI相关

iOS_release
zhangaotian 2024-06-17 20:00:00 +08:00
parent fcfae0ba6b
commit 7d94d883db
2 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ namespace Framework.UI
{ {
window.WindowPath = path; window.WindowPath = path;
window.uiWindowLayer = uiWindowLayer; window.uiWindowLayer = uiWindowLayer;
_windowsDic.Add(path, window); _windowsDic.TryAdd(path, window);
} }
else else
{ {

View File

@ -58,7 +58,7 @@ public class UIMainPanelController : UIWindow
private void Update() private void Update()
{ {
if (LoginManager.Instance.NeedSyncData && /*if (LoginManager.Instance.NeedSyncData &&
(LoginManager.Instance.ShowLogin || LoginManager.Instance.IsLogin) (LoginManager.Instance.ShowLogin || LoginManager.Instance.IsLogin)
&& UnityEngine.PlayerPrefs.HasKey(LevelConstants.FirstLaunch)) && UnityEngine.PlayerPrefs.HasKey(LevelConstants.FirstLaunch))
{ {
@ -66,7 +66,7 @@ public class UIMainPanelController : UIWindow
UIManager.Instance.OpenWindow(UIConstants.UISyncTip, UIManager.Instance.OpenWindow(UIConstants.UISyncTip,
UIManager.Instance.IsWindowStay(UIConstants.UISettingPanel)); UIManager.Instance.IsWindowStay(UIConstants.UISettingPanel));
} }*/
} }
private void OnDisable() private void OnDisable()