抽卡界面修改提交

jiaoyangna 2020-10-23 20:02:20 +08:00
parent a21d28fb83
commit 2e962b3cef
1 changed files with 5 additions and 2 deletions

View File

@ -81,6 +81,9 @@ function PokemonSingleResultPanel:OnOpen(...)
type = args[1]
drop = args[2]
_heroTable = drop.pokemon
for i = 1 ,#_heroTable do
LogRed("_heroTable[i]:".._heroTable[i].tempId)
end
end
function PokemonSingleResultPanel:OnShow()
@ -161,8 +164,6 @@ end
function PokemonSingleResultPanel:OnClose()
_heroTable={}
drop = {}
index=0
if heroStaticData then
poolManager:UnLoadLive(GetResourcePath(heroStaticData.Live), testLiveGO)
@ -173,6 +174,8 @@ function PokemonSingleResultPanel:OnClose()
else
UIManager.OpenPanel(UIName.PokemonSummonTenResultPanel, drop,type)
end
_heroTable={}
drop = {}
end
function PokemonSingleResultPanel:OnDestroy()