【优化】放生灵兽添加开启等级。

dev_chengFeng
jiaoyangna 2020-12-24 14:23:29 +08:00
parent 26d714e1c5
commit 29c5c08ea4
1 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,8 @@ function this.SetBottomBarIsActive(tab, index)
local string = ConfigData[40].Value
local num = string.split(string.split(string,"|")[1],"#")[2]
tab:SetActive(PlayerManager.level >= tonumber(num))
elseif index == 5 then
tab.gameObject:SetActive(ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.POKEMON))
end
end