线上问题: 大闹天宫节点例会重叠
parent
c5ffb7cb23
commit
00287b66a6
|
|
@ -260,10 +260,9 @@ function ExpeditionMainPanel:SingleLayNodeShow(go,layNodeListData)
|
|||
local nodeGo = go
|
||||
--卸载加载的立绘
|
||||
if liveNodeList[go] then
|
||||
for i = 1, #liveNodeList[go] do
|
||||
local item = liveNodeList[go][i]
|
||||
if item then
|
||||
poolManager:UnLoadLive(item.name, item.go, PoolManager.AssetType.GameObject)
|
||||
for key, value in pairs(liveNodeList[go]) do
|
||||
if value then
|
||||
poolManager:UnLoadLive(value.name, value.go, PoolManager.AssetType.GameObject)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue