【优化】放生灵兽添加开启等级。
parent
9ad8d2f635
commit
12724f650e
|
|
@ -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