抽卡界面修改提交
parent
a21d28fb83
commit
2e962b3cef
|
|
@ -81,6 +81,9 @@ function PokemonSingleResultPanel:OnOpen(...)
|
||||||
type = args[1]
|
type = args[1]
|
||||||
drop = args[2]
|
drop = args[2]
|
||||||
_heroTable = drop.pokemon
|
_heroTable = drop.pokemon
|
||||||
|
for i = 1 ,#_heroTable do
|
||||||
|
LogRed("_heroTable[i]:".._heroTable[i].tempId)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function PokemonSingleResultPanel:OnShow()
|
function PokemonSingleResultPanel:OnShow()
|
||||||
|
|
@ -161,8 +164,6 @@ end
|
||||||
|
|
||||||
|
|
||||||
function PokemonSingleResultPanel:OnClose()
|
function PokemonSingleResultPanel:OnClose()
|
||||||
_heroTable={}
|
|
||||||
drop = {}
|
|
||||||
index=0
|
index=0
|
||||||
if heroStaticData then
|
if heroStaticData then
|
||||||
poolManager:UnLoadLive(GetResourcePath(heroStaticData.Live), testLiveGO)
|
poolManager:UnLoadLive(GetResourcePath(heroStaticData.Live), testLiveGO)
|
||||||
|
|
@ -173,6 +174,8 @@ function PokemonSingleResultPanel:OnClose()
|
||||||
else
|
else
|
||||||
UIManager.OpenPanel(UIName.PokemonSummonTenResultPanel, drop,type)
|
UIManager.OpenPanel(UIName.PokemonSummonTenResultPanel, drop,type)
|
||||||
end
|
end
|
||||||
|
_heroTable={}
|
||||||
|
drop = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
function PokemonSingleResultPanel:OnDestroy()
|
function PokemonSingleResultPanel:OnDestroy()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue