【Bug】UI相关
parent
fcfae0ba6b
commit
7d94d883db
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue