コード例 #1
0
        private static DRewardPopupScreenCount buildCountScreen(RewardCategory category, int unlockedCount)
        {
            DRewardPopupScreenCount dRewardPopupScreenCount = new DRewardPopupScreenCount();

            dRewardPopupScreenCount.CountCategory = category;
            dRewardPopupScreenCount.Count         = unlockedCount;
            return(dRewardPopupScreenCount);
        }
コード例 #2
0
 public override void Init(DRewardPopupScreen screenData, RewardPopupController popupController)
 {
     this.screenData         = (DRewardPopupScreenCount)screenData;
     RewardCategoryText.text = RewardUtils.GetUnlockText(this.screenData.CountCategory);
     RewardCountText.text    = $"+ {this.screenData.Count}";
     popupController.RewardChest.ChestAnimator.SetTrigger("LaunchItems");
     isIntroComplete = false;
     tweenCountText();
 }