|
@@ -251,13 +251,16 @@ namespace GFGGame
|
|
|
UpdateBonusBoxStatus(bonusBox, index);
|
|
|
}
|
|
|
}
|
|
|
- else if (status == ConstBonusStatus.GOT)
|
|
|
- {
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("这个宝箱已经被领取过了");
|
|
|
- }
|
|
|
+ // else if (status == ConstBonusStatus.GOT)
|
|
|
+ // {
|
|
|
+ // PromptController.Instance.ShowFloatTextPrompt("这个宝箱已经被领取过了");
|
|
|
+ // }
|
|
|
else
|
|
|
{
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("关卡总分不足,继续加油吧。");
|
|
|
+ List<ItemData> rewards = StoryBonusDataCache.GetChapterBonusList(_chapterID, index);
|
|
|
+ int star = StoryBonusDataCache.GetChapterBonusStar(_chapterID, index);
|
|
|
+ ViewManager.Show<RewardPreView>(new object[] { rewards, "宝箱奖励", string.Format("本章达成{0}星可领取", star) });
|
|
|
+ // PromptController.Instance.ShowFloatTextPrompt("关卡总分不足,继续加油吧。");
|
|
|
}
|
|
|
}
|
|
|
private void CheckGuide(object param)
|