public void SetStage(LevelSelectCreator levelSelect, int stage, GameObject activateTarget, GameObject deactivateTarget) { this.stageNumber = stage; this.Label.text = string.Format("Stage {0}", this.stageNumber.ToString("D")); this.name = string.Format("Stage {0}", this.stageNumber.ToString("D2")); this.levelSelectCreator = levelSelect; this.stageSelectOverrideActivateTarget = activateTarget; this.stageSelectOverrideDeactivateTarget = deactivateTarget; this.SetCompletedIcons(); }
public void SetSpecialStageItem( SpecialStageLifetimeVg specialStage, LevelSelectCreator levelSelect, SpecialStageSelectButton selectStageButton) { this.specialStageVG = specialStage; this.levelSelectCreator = levelSelect; this.specialStageSelectButton = selectStageButton; PurchaseWithVirtualItem purchaseType = (PurchaseWithVirtualItem)specialStage.PurchaseType; this.Message.text = string.Format("Would you like to purchase this stage for {0} tokens?", purchaseType.Amount); }
public void SetStage( LevelSelectCreator levelSelect, SpecialStage stage, GameObject stageSelectActivateTarget, GameObject stageSelectDeactivateTarget, PurchaseStage purchaseStage, GameObject rewardPopUp) { this.specialStage = stage; this.Label.text = this.specialStage.Description; this.name = this.specialStage.StageId; this.levelSelectCreator = levelSelect; this.stageSelectOverrideActivateTarget = stageSelectActivateTarget; this.stageSelectOverrideDeactivateTarget = stageSelectDeactivateTarget; this.purchaseStagePopUp = purchaseStage; this.rewardedOnlyPopUp = rewardPopUp; this.SetSpecialStageCompletedIcons(); }