刷新界面
parent
00da9f73a7
commit
5341483985
|
|
@ -214,6 +214,7 @@ function XiaoYaoLuckyBossPopup:SetSingleReward(id)
|
|||
end
|
||||
end
|
||||
function this:OnClose()
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow)
|
||||
if _LiveNode then
|
||||
poolManager:UnLoadLive(_LiveName, _LiveNode)
|
||||
_LiveNode = nil
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@ function this:TimerDown()
|
|||
self.timer:Start()
|
||||
end
|
||||
function XiaoYaoLuckyTurnTablePopup:OnClose()
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow)
|
||||
for index, value in ipairs(_itemsList) do
|
||||
local red = Util.GetGameObject(value,"Red")
|
||||
red:SetActive(false)
|
||||
|
|
|
|||
|
|
@ -239,6 +239,7 @@ end
|
|||
|
||||
--界面关闭时调用(用于子类重写)
|
||||
function XiaoyaoHeroGetPopup:OnClose()
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow)
|
||||
if this.testLiveGO then
|
||||
poolManager:UnLoadLive(this.testLiveGO.name, this.testLiveGO)
|
||||
this.testLiveGO = nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue