【逍遥游】恭喜获得中道具有跳转按钮,跳转后再返回显示空的恭喜获得
parent
48330717a7
commit
2c0c23553c
|
@ -117,10 +117,6 @@ end
|
||||||
|
|
||||||
--界面关闭时调用(用于子类重写)
|
--界面关闭时调用(用于子类重写)
|
||||||
function this:OnClose()
|
function this:OnClose()
|
||||||
while(this.grid.transform.childCount>0)
|
|
||||||
do
|
|
||||||
destroy(this.grid.transform:GetChild(0).gameObject)
|
|
||||||
end
|
|
||||||
if triggertype>0 then
|
if triggertype>0 then
|
||||||
Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.PlayEventEffect)
|
Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.PlayEventEffect)
|
||||||
end
|
end
|
||||||
|
@ -128,6 +124,10 @@ end
|
||||||
|
|
||||||
--界面销毁时调用(用于子类重写)
|
--界面销毁时调用(用于子类重写)
|
||||||
function this:OnDestroy()
|
function this:OnDestroy()
|
||||||
|
while(this.grid.transform.childCount>0)
|
||||||
|
do
|
||||||
|
destroy(this.grid.transform:GetChild(0).gameObject)
|
||||||
|
end
|
||||||
this.spLoader:Destroy()
|
this.spLoader:Destroy()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue