| | |
| | | var _specialIndex = _list.FindIndex((x) =>
|
| | | {
|
| | | var config = ConfigManager.Instance.GetTemplate<CTGConfig>(x);
|
| | | return config.PayType == 3;
|
| | | return config != null && config.PayType == 3;
|
| | | });
|
| | | m_SpecialRechargeBtn.gameObject.SetActive(_specialIndex != -1 && PlayerDatas.Instance.baseData.VIPLv >= GeneralConfig.Instance.supremeRechargeVipLv);
|
| | | }
|
| | |
| | | var _specialIndex = _list.FindIndex((x) =>
|
| | | {
|
| | | var config = ConfigManager.Instance.GetTemplate<CTGConfig>(x);
|
| | | return config.PayType == 3;
|
| | | return config != null && config.PayType == 3;
|
| | | });
|
| | | if (_specialIndex != -1)
|
| | | {
|