轩辕宝镜关闭时销毁时间
parent
b50602d94c
commit
e7a695553f
|
|
@ -239,6 +239,10 @@ end
|
||||||
|
|
||||||
--界面关闭时调用(用于子类重写)
|
--界面关闭时调用(用于子类重写)
|
||||||
function this:OnClose()
|
function this:OnClose()
|
||||||
|
if self.timer then
|
||||||
|
self.timer:Stop()
|
||||||
|
self.timer = nil
|
||||||
|
end
|
||||||
this.isPlayDoorAudio = false
|
this.isPlayDoorAudio = false
|
||||||
self.gameObject:SetActive(false)
|
self.gameObject:SetActive(false)
|
||||||
PlayerManager.carbonType = 2
|
PlayerManager.carbonType = 2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue