【山河社稷图】提交zq
parent
8e22dc72eb
commit
361c3549be
|
@ -49,6 +49,10 @@ function this:BindEvent()
|
|||
end)
|
||||
Util.AddClick(this.backBtn, function()
|
||||
parent:ClosePanel()
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
end)
|
||||
Util.AddClick(this.BackBattleBtn, function()
|
||||
FightLevelManager.HardStageReportRequset(fightLevelData, function()
|
||||
|
@ -226,10 +230,7 @@ function this.LeftOrRightBtnClickEvent()
|
|||
end
|
||||
end
|
||||
function this:OnClose()
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
|
||||
for i, v in pairs(liveNodes) do
|
||||
if v then
|
||||
poolManager:UnLoadLive(liveNames[i],v)
|
||||
|
|
|
@ -45,6 +45,10 @@ function this:BindEvent()
|
|||
end)
|
||||
Util.AddClick(this.backBtn, function()
|
||||
parent:ClosePanel()
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
end)
|
||||
Util.AddClick(this.BackBattleBtn, function()
|
||||
FightLevelManager.HardStageReportRequset(fightLevelData, function()
|
||||
|
@ -208,10 +212,6 @@ function this.SetCardSingleData(o,monsterId, _pos)
|
|||
SetTextVerTial(name.gameObject,Vector3.New(35,-7.45,0),nil,nil,8)
|
||||
end
|
||||
function this:OnClose()
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
for i, v in pairs(liveNodes) do
|
||||
if v then
|
||||
poolManager:UnLoadLive(liveNames[i],v)
|
||||
|
|
|
@ -116,10 +116,6 @@ end
|
|||
|
||||
function this:OnClose()
|
||||
rewardData = {}
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
end
|
||||
|
||||
function this:OnDestroy()
|
||||
|
|
Loading…
Reference in New Issue