抽卡界面修改提交
parent
a21d28fb83
commit
2e962b3cef
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue