zhaoyang 3 жил өмнө
parent
commit
9e6b63d547

+ 1 - 4
GameClient/Assets/Game/HotUpdate/Controller/GameController.cs

@@ -195,10 +195,7 @@ namespace GFGGame
             EquipDataCache.cacher.autoPlay = StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_AUTO_PLAY) <= 0 ? false : true;
             EquipDataCache.cacher.fightSpeed = StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_AUTO_PLAY_SPEED) <= 1 ? 1 : StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_AUTO_PLAY_SPEED);
             GameGlobal.skipCheckOpen = StorageDataManager.Instance.GetStorageValue(ConstStorageId.SKIP_CHECK_OPEN) <= 0 ? false : true;
-
+            GameGlobal.isEnterGame = true;
         }
-
-
-
     }
 }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Controller/GuideController.cs

@@ -13,7 +13,7 @@ namespace GFGGame
 
         public static bool IsGuide()
         {
-
+            if (!GameGlobal.isEnterGame) return false;//未进入游戏
             bool isAllGuideFinish = false;
             for (int i = 0; i < GuideCfgArray.Instance.dataArray.Length; i++)
             {

+ 2 - 1
GameClient/Assets/Game/HotUpdate/GameGlobal.cs

@@ -17,8 +17,9 @@ namespace GFGGame
         public static int userAge = 0;
 
         public static bool skipGuide;
-
         public static bool skipCheckOpen;//跳过功能开启检查
+        public static bool isEnterGame = false;
+
 
         public static string loginApiUrl;
         public static string gameApiUrl;