protected void Awake() { this.masterString = StringMaster.GetString(this.stringMasterKey); if (this.textMeshPro != null) { this.textMeshPro.text = this.masterString; CountrySetting.ConvertTMProText(ref this.textMeshPro); } }
public void SetReward(string title, GameWebAPI.ColosseumReward[] rewardList) { RewardIconRoot rewardIconRoot = this.rewardIconRootList[rewardList.Length - 1]; rewardIconRoot.SetRewardList(rewardList); this.messageLabel.text = rewardIconRoot.itemName; this.titleTextMeshPro.text = title; CountrySetting.ConvertTMProText(ref this.titleTextMeshPro); this.isInitialized = true; }
public void SetTitle(int mode) { if (mode != 0) { if (mode == 1) { this.title.text = StringMaster.GetString("PVP_SimulatedGame"); } } else { this.title.text = StringMaster.GetString("PVP_NationwideBattle"); } CountrySetting.ConvertTMProText(ref this.title); }