zhibo
parent
434b7dce45
commit
7890642221
|
|
@ -314,5 +314,13 @@ function FirstRechargePanel:OnClose()
|
||||||
-- this.Onelive = nil
|
-- this.Onelive = nil
|
||||||
-- end
|
-- end
|
||||||
end
|
end
|
||||||
|
--界面销毁时调用(用于子类重写)
|
||||||
|
function FirstRechargePanel:OnDestroy()
|
||||||
|
if this.liveNode then
|
||||||
|
UnLoadHerolive(this.heroData, this.liveNode)
|
||||||
|
Util.ClearChild(this.lihui.transform)
|
||||||
|
this.liveNode = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
return FirstRechargePanel
|
return FirstRechargePanel
|
||||||
Loading…
Reference in New Issue