Beispiel #1
0
 protected void Awake()
 {
     this.masterString = StringMaster.GetString(this.stringMasterKey);
     if (this.textMeshPro != null)
     {
         this.textMeshPro.text = this.masterString;
         CountrySetting.ConvertTMProText(ref this.textMeshPro);
     }
 }
Beispiel #2
0
    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;
    }
Beispiel #3
0
 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);
 }