Browse Source

获得套装引导完成

zhaoyang 3 years ago
parent
commit
131db2699e

+ 4 - 4
GameClient/Assets/Game/HotUpdate/Views/CommonGame/GetSuitItemVIew.cs

@@ -53,17 +53,17 @@ namespace GFGGame
             {
                 _wrapper.wrapTarget = null;
             }
-            if(this.viewCom != null && this.viewCom.root == null)
+            if (this.viewCom == null || this.viewCom.root == null)
             {
 
                 Timers.inst.CallLater((object param) =>
                 {
                     GetSuitItemController.TryShow(0);
                 });
-                GuideController.HideGuide();
-                GuideController.TryCompleteGuide(ConstGuideId.GET_SUIT_ITEM_VIEW_FIRST);
-                GuideController.TryCompleteGuide(ConstGuideId.GET_SUIT_ITEM_VIEW_FULL);
             }
+            GuideController.HideGuide();
+            GuideController.TryCompleteGuide(ConstGuideId.GET_SUIT_ITEM_VIEW_FIRST);
+            GuideController.TryCompleteGuide(ConstGuideId.GET_SUIT_ITEM_VIEW_FULL);
         }
 
         private void OnClickBg()