Browse Source

主界面引导锁屏处理

guodong 1 year ago
parent
commit
8693188cba
1 changed files with 3 additions and 2 deletions
  1. 3 2
      GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

+ 3 - 2
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -169,8 +169,9 @@ namespace GFGGame
             base.OnShown();
 
             MainDataManager.Instance.CanSwipe = false;
-            //GRoot.inst.touchable = false;
-            //_ui.m_loaGuidestudio.visible = true;
+            //防止引导检测之前触发点击事件
+            GRoot.inst.touchable = false;
+            _ui.m_loaGuidestudio.visible = true;
 
             _ui.m_headBar.m_txtName.text = RoleDataManager.roleName;
             if (_sceneObject == null)