private static DRewardPopupScreenCount buildCountScreen(RewardCategory category, int unlockedCount) { DRewardPopupScreenCount dRewardPopupScreenCount = new DRewardPopupScreenCount(); dRewardPopupScreenCount.CountCategory = category; dRewardPopupScreenCount.Count = unlockedCount; return(dRewardPopupScreenCount); }
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(); }