Merge branch 'master_develop' of http://60.1.1.230/gaoxin/JL_Client into master_develop

dev_chengFeng
ZhangBiao 2020-08-03 20:02:10 +08:00
commit f6b827c922
1 changed files with 9 additions and 4 deletions

View File

@ -108,15 +108,20 @@ function RankingSingleListPanel:OnClose()
RankingManager.ClearData()
RankingManager.isRequest=0
this.noneImage:SetActive(false)
-- if this.liveNode then
-- --Log("==YSP== 删除立绘")
-- poolManager:UnLoadLive(npc, this.liveNode)
-- this.liveNode=nil
-- end
end
--界面销毁时调用(用于子类重写)
function RankingSingleListPanel:OnDestroy()
if this.liveNode then
--Log("==YSP== 删除立绘")
poolManager:UnLoadLive(npc, this.liveNode)
this.liveNode=nil
end
end
--界面销毁时调用(用于子类重写)
function RankingSingleListPanel:OnDestroy()
for _, playerHead in ipairs(this.playerHeadList) do
playerHead:Recycle()
end