探索主城异常提交
parent
6d5a716b10
commit
082fb392d5
|
@ -1301,10 +1301,14 @@ function this.InitFuncShow(funcType)
|
||||||
this.operateIcon[funcType].open:SetActive(isOpen)
|
this.operateIcon[funcType].open:SetActive(isOpen)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
this.operateIcon[funcType].lock:SetActive(false)
|
||||||
|
this.operateIcon[funcType].open:SetActive(false)
|
||||||
|
return
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
for i, v in pairs(this.operateIcon) do
|
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)
|
local isOpen = ActTimeCtrlManager.SingleFuncState(i)
|
||||||
if i == FUNCTION_OPEN_TYPE.ENDLESS then
|
if i == FUNCTION_OPEN_TYPE.ENDLESS then
|
||||||
isOpen = ActTimeCtrlManager.IsQualifiled(i)
|
isOpen = ActTimeCtrlManager.IsQualifiled(i)
|
||||||
|
@ -1312,6 +1316,9 @@ function this.InitFuncShow(funcType)
|
||||||
v.lock:SetActive(not isOpen)
|
v.lock:SetActive(not isOpen)
|
||||||
Util.SetColor(v.lock, Color.New(1, 1, 1, 0.59))
|
Util.SetColor(v.lock, Color.New(1, 1, 1, 0.59))
|
||||||
v.open:SetActive(isOpen)
|
v.open:SetActive(isOpen)
|
||||||
|
else
|
||||||
|
v.lock:SetActive(false)
|
||||||
|
v.open:SetActive(false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue