【特权优化】公会漏提

dev_chengFeng
zhangqiang 2021-03-31 11:20:45 +08:00
parent 04543dd9bb
commit d2ab50c096
1 changed files with 5 additions and 5 deletions

View File

@ -293,9 +293,9 @@ function GuildMainCityPanel:OnShow()
end end
function this:OnSortingOrderChange() function this:OnSortingOrderChange()
if this.playerHead then -- if this.playerHead then
this.playerHead:SetLayer(self.sortingOrder) -- this.playerHead:SetLayer(self.sortingOrder)
end -- end
if this.playerInfoView then if this.playerInfoView then
this.playerInfoView:SetLayer(self.sortingOrder) this.playerInfoView:SetLayer(self.sortingOrder)
end end
@ -537,7 +537,7 @@ function GuildMainCityPanel:OnDestroy()
SubUIManager.Close(this.ChatTipView) SubUIManager.Close(this.ChatTipView)
SubUIManager.Close(this.UpView) SubUIManager.Close(this.UpView)
SubUIManager.Close(this.BtView) SubUIManager.Close(this.BtView)
SubUIManager.Close(this.playerHead) -- SubUIManager.Close(this.playerHead)
-- 移除红点 -- 移除红点
for type, data in pairs(_GuildBuildConfig) do for type, data in pairs(_GuildBuildConfig) do
if data.btnName then if data.btnName then
@ -551,7 +551,7 @@ function GuildMainCityPanel:OnDestroy()
-- 清除红点 -- 清除红点
ClearRedPointObject(RedPointType.Guild_RedPacket, this.btnRedPacketRedPoint) ClearRedPointObject(RedPointType.Guild_RedPacket, this.btnRedPacketRedPoint)
this.playerHead = nil -- this.playerHead = nil
if this.LiveGO then if this.LiveGO then
poolManager:UnLoadLive(this.LiveName,this.LiveGO) poolManager:UnLoadLive(this.LiveName,this.LiveGO)