功能不进版本隐藏按钮
parent
adabb23e0c
commit
0b538b6e1e
|
@ -238,6 +238,10 @@ function CarbonTypePanelV2:OnShow(...)
|
|||
data = type[PlayerManager.carbonType].default
|
||||
else
|
||||
data = type[PlayerManager.carbonType][k]
|
||||
local config = ConfigManager.GetConfigData(ConfigName.GlobalSystemConfig,data.id)
|
||||
if not config or config.IsOpen == 0 then
|
||||
data = type[PlayerManager.carbonType].default
|
||||
end
|
||||
end
|
||||
local redpoint = Util.GetGameObject(v, "redPoint")
|
||||
if data.redPointType == -1 or not data.redPointType then
|
||||
|
|
Loading…
Reference in New Issue