|
@@ -73,7 +73,8 @@ namespace GFGGame
|
|
|
_ui.m_effEnd.visible = false;
|
|
|
_rewardList = LuckyBoxDataManager.Instance.RewardList;
|
|
|
_ui.m_ctrlBuyType.selectedIndex = _rewardList != null && _rewardList.Count > 1 ? 1 : 0;
|
|
|
- _ui.m_ctrlRewardsType.selectedIndex = Array.IndexOf(LuckyBoxDataManager.Instance.luckyBoxIds, LuckyBoxDataManager.Instance.currentBoxId);
|
|
|
+ _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);
|
|
|
isFirst = true;
|
|
|
ResetStartView();
|
|
|
}
|
|
@@ -222,7 +223,7 @@ namespace GFGGame
|
|
|
comStar.m_imgLine.visible = false;
|
|
|
|
|
|
|
|
|
- if (showGuide && comStars.Count > 0)
|
|
|
+ if (showGuide && clickComStars.Count < 2)
|
|
|
{
|
|
|
isFirst = false;
|
|
|
ResetStartView();
|
|
@@ -320,12 +321,12 @@ namespace GFGGame
|
|
|
{
|
|
|
|
|
|
if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
|
- GuideController.TryGuide(null, ConstGuideId.LUCKY_BOX, 5, "点击将星星全部链接在一起", -1, true, (int)(this.viewCom.height - 150));
|
|
|
+ GuideController.TryGuide(null, ConstGuideId.LUCKY_BOX, 5, "点击将星星链接在一起", -1, true, (int)(this.viewCom.height - 150));
|
|
|
TryCompleteGuide();
|
|
|
}
|
|
|
protected override void TryCompleteGuide()
|
|
|
{
|
|
|
- if (comStars.Count == 0)
|
|
|
+ if (clickComStars.Count >= 2)
|
|
|
{
|
|
|
GuideCfg cfg = GuideCfgArray.Instance.GetCfg(ConstGuideId.LUCKY_BOX);
|
|
|
|