探索主城异常提交

dev_chengFeng
jiaoyangna 2022-01-07 10:13:14 +08:00
parent 6d5a716b10
commit 082fb392d5
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