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