Browse Source

抽卡引导

zhaoyang 3 years ago
parent
commit
d4f704bbdf

+ 5 - 2
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxStarView.cs

@@ -74,7 +74,7 @@ namespace GFGGame
             _ui.m_ctrlBuyType.selectedIndex = _rewardList != null && _rewardList.Count > 1 ? 1 : 0;
             _ui.m_ctrlRewardsType.selectedIndex = LuckyBoxDataManager.Instance.currentBoxId - 1; Array.IndexOf(LuckyBoxDataManager.Instance.luckyBoxIds, LuckyBoxDataManager.Instance.currentBoxId);
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("cj_tp_" + LuckyBoxDataManager.Instance.currentBoxId);
-            TryCompleteGuide();
+
             ResetStartView();
         }
 
@@ -319,6 +319,8 @@ namespace GFGGame
         {
 
             if (!ViewManager.CheckIsTopView(this.viewCom)) return;
+            GuideCfg cfg = GuideCfgArray.Instance.GetCfg(ConstGuideId.LUCKY_BOX_LINE);
+            GuideController.TryCompleteGuide(ConstGuideId.LUCKY_BOX, 4);
             GuideController.TryGuide(null, ConstGuideId.LUCKY_BOX_LINE, 1, "点击将星星链接在一起", -1, true, (int)(this.viewCom.height - 150));
             TryCompleteGuide();
         }
@@ -336,7 +338,8 @@ namespace GFGGame
                 GuideDataManager.SetGuideIndexState(GuideDataManager.currentGuideId, GuideDataManager.currentGuideIdIndex, 0);
                 GuideDataManager.currentGuideIdIndex = 3;
             }
-            GuideController.TryCompleteGuide(ConstGuideId.LUCKY_BOX, 4);
+
+
         }
 
     }