|
@@ -28,6 +28,7 @@ namespace GFGGame
|
|
|
ET.Log.Debug("vipLv:" + level);
|
|
|
ET.Log.Debug("vipExp:" + RoleDataManager.vipExp);
|
|
|
VipCfg vipCfg = VipCfgArray.Instance.GetCfg(RoleDataManager.vipLv);
|
|
|
+ if (vipCfg == null) return;
|
|
|
VipCfg nextVipCfg = VipCfgArray.Instance.GetCfg(RoleDataManager.vipLv + 1);
|
|
|
com.m_txtTipsFull.visible = RoleDataManager.vipExp >= vipCfg.num && nextVipCfg == null;
|
|
|
com.m_grpTips.visible = nextVipCfg != null || RoleDataManager.vipExp < vipCfg.num;
|