【优化】放生灵兽添加开启等级。
parent
26d714e1c5
commit
29c5c08ea4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue