| | |
| | | var ctgID = BattlePassManager.Instance.GetCTGIDByType(battlePasstype);
|
| | | var config = CTGConfig.Get(ctgID);
|
| | | welfarePerText.text = config.Percentage + "%";
|
| | | if (!config.GainItemList.IsNullOrEmpty() && config.GainItemList.Length >= 2)
|
| | | {
|
| | | //约定第二个物品
|
| | | itemNameText.text = Language.Get("BattlePass8", config.GainItemList[1][1], ItemConfig.Get(config.GainItemList[1][0]).ItemName);
|
| | | }
|
| | |
|
| | | itemNameText.text = Language.Get("BattlePassAD" + battlePasstype);
|
| | | tabNameText.text = Language.Get("BattlePassTab" + battlePasstype);
|
| | | titleText.text = Language.Get("BattlePassTitle" + battlePasstype);
|
| | | }
|