轩辕宝镜关闭时销毁时间

jiaoyangna 2020-10-15 17:27:50 +08:00
parent b50602d94c
commit e7a695553f
1 changed files with 4 additions and 0 deletions

View File

@ -239,6 +239,10 @@ end
--界面关闭时调用(用于子类重写)
function this:OnClose()
if self.timer then
self.timer:Stop()
self.timer = nil
end
this.isPlayDoorAudio = false
self.gameObject:SetActive(false)
PlayerManager.carbonType = 2