| | |
| | | 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);
|
| | | }
|
| | |
| | | lockRect.SetActive(battlePassData.isActivite == 0);
|
| | | scroller.m_Scorller.RefreshActiveCellViews();
|
| | |
|
| | | var _rect = scroller.GetComponent<RectTransform>();
|
| | | if (battlePassData.isActivite == 0)
|
| | | {
|
| | | rechargeRect.SetActive(true);
|
| | |
| | | {
|
| | | ItemTipUtility.Show(itemID);
|
| | | });
|
| | | _rect.sizeDelta = new Vector2(_rect.rect.width, 630);
|
| | | }
|
| | | else
|
| | | {
|
| | | rechargeRect.SetActive(false);
|
| | | _rect.sizeDelta = new Vector2(_rect.rect.width, 757);
|
| | | }
|
| | |
|
| | |
|
| | | }
|
| | |
|
| | | void ShowTotalValueStr()
|