parent
ddd0ece70b
commit
e087d4c57c
|
|
@ -354,10 +354,10 @@ end
|
||||||
function this.InitCarbonSet()
|
function this.InitCarbonSet()
|
||||||
-- 面板遮罩
|
-- 面板遮罩
|
||||||
this.MaskState(1)
|
this.MaskState(1)
|
||||||
local timer = Timer.New(function()
|
this.timer = Timer.New(function()
|
||||||
this.MaskState(0)
|
this.MaskState(0)
|
||||||
end, 2.5)
|
end, 2.5)
|
||||||
timer:Start()
|
this.timer:Start()
|
||||||
--如果是在序章
|
--如果是在序章
|
||||||
local isStartMap = MapManager.curMapId == 100
|
local isStartMap = MapManager.curMapId == 100
|
||||||
this.BtnBack:SetActive(not isStartMap)
|
this.BtnBack:SetActive(not isStartMap)
|
||||||
|
|
@ -533,7 +533,10 @@ function this:OnDestroy()
|
||||||
|
|
||||||
this.spLoader:Destroy()
|
this.spLoader:Destroy()
|
||||||
|
|
||||||
|
if this.timer then
|
||||||
|
this.timer:Stop()
|
||||||
|
this.timer = nil
|
||||||
|
end
|
||||||
|
|
||||||
_PropItemList = {}
|
_PropItemList = {}
|
||||||
_PointerDownList = {}
|
_PointerDownList = {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue