Browse Source

本次登录隐藏选择出现问题

huangxiaoyue 1 year ago
parent
commit
0a1902037d

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Common/Alert/AlertWindow.cs

@@ -54,7 +54,6 @@ namespace GFGGame
             this.SetTips(m_tips);
             this.SetTips(m_tips);
             this.SetLeftButton(m_isShowLeftButton, m_textLeft);
             this.SetLeftButton(m_isShowLeftButton, m_textLeft);
             this.SetRightButton(m_isShowRightButton, m_textRight);
             this.SetRightButton(m_isShowRightButton, m_textRight);
-            this.SetShowCheck(false);
             updateButtonPosition();
             updateButtonPosition();
             _ui.m_btnLeft.onClick.Add(() =>
             _ui.m_btnLeft.onClick.Add(() =>
             {
             {
@@ -74,6 +73,7 @@ namespace GFGGame
         {
         {
             base.OnShown();
             base.OnShown();
             _ui.target.Center();
             _ui.target.Center();
+            this.SetShowCheck(false);
             Timers.inst.AddUpdate(CheckGuide);
             Timers.inst.AddUpdate(CheckGuide);
         }
         }