Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
ZhangBiao 2022-01-07 11:29:10 +08:00
commit 61539a1e89
1 changed files with 8 additions and 1 deletions

View File

@ -1301,10 +1301,14 @@ function this.InitFuncShow(funcType)
this.operateIcon[funcType].open:SetActive(isOpen)
return
end
else
this.operateIcon[funcType].lock:SetActive(false)
this.operateIcon[funcType].open:SetActive(false)
return
end
else
for i, v in pairs(this.operateIcon) do
if funcType ~= FUNCTION_OPEN_TYPE.Explore then
if i ~= FUNCTION_OPEN_TYPE.Explore then
local isOpen = ActTimeCtrlManager.SingleFuncState(i)
if i == FUNCTION_OPEN_TYPE.ENDLESS then
isOpen = ActTimeCtrlManager.IsQualifiled(i)
@ -1312,6 +1316,9 @@ function this.InitFuncShow(funcType)
v.lock:SetActive(not isOpen)
Util.SetColor(v.lock, Color.New(1, 1, 1, 0.59))
v.open:SetActive(isOpen)
else
v.lock:SetActive(false)
v.open:SetActive(false)
end
end
end