万象境入口修改

jiaoyangna 2020-09-16 11:26:06 +08:00
parent 60172f3089
commit 568d7c8ee2
1 changed files with 2 additions and 2 deletions

View File

@ -1235,7 +1235,7 @@ function this.InitFuncShow(funcType)
if funcType then if funcType then
if this.operateIcon[funcType] then if this.operateIcon[funcType] then
local isOpen = ActTimeCtrlManager.SingleFuncState(funcType) local isOpen = ActTimeCtrlManager.SingleFuncState(funcType)
if funcType == FUNCTION_OPEN_TYPE.TRIAL then if funcType == FUNCTION_OPEN_TYPE.ENDLESS then
isOpen = ActTimeCtrlManager.IsQualifiled(funcType) isOpen = ActTimeCtrlManager.IsQualifiled(funcType)
end end
Util.SetColor(this.operateIcon[funcType].lock, Color.New(1, 1, 1, 0.59)) Util.SetColor(this.operateIcon[funcType].lock, Color.New(1, 1, 1, 0.59))
@ -1246,7 +1246,7 @@ function this.InitFuncShow(funcType)
else else
for i, v in pairs(this.operateIcon) do for i, v in pairs(this.operateIcon) do
local isOpen = ActTimeCtrlManager.SingleFuncState(i) local isOpen = ActTimeCtrlManager.SingleFuncState(i)
if i == FUNCTION_OPEN_TYPE.TRIAL then if i == FUNCTION_OPEN_TYPE.ENDLESS then
isOpen = ActTimeCtrlManager.IsQualifiled(i) isOpen = ActTimeCtrlManager.IsQualifiled(i)
end end
v.lock:SetActive(not isOpen) v.lock:SetActive(not isOpen)