Ver código fonte

引导前快速点击会异常

zhaoyang 3 anos atrás
pai
commit
93884fdf5a

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/UIView.cs

@@ -125,6 +125,7 @@ namespace GFGGame
             }
             if (GuideController.IsGuide())
             {
+                UpdateToCheckGuide(null);
                 Timers.inst.AddUpdate(UpdateToCheckGuide);
             }
         }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/ViewManager.cs

@@ -308,7 +308,7 @@ namespace GFGGame
         }
         public static bool CheckIsTopView(GComponent viewCom)
         {
-            if (ViewManager.isViewOpen(typeof(GuideView).Name)) return false;
+            // if (ViewManager.isViewOpen(typeof(GuideView).Name)) return false;
             if (viewCom.parent != null)
             {
                 int index = viewCom.parent.GetChildIndex(viewCom);