destroy guildmaincitypanel close playerheadview

dev_chengFeng
jiaoyangna 2020-08-03 17:07:24 +08:00
parent 54aae5181f
commit 3c6043d32c
1 changed files with 3 additions and 0 deletions

View File

@ -578,6 +578,7 @@ function GuildMainCityPanel:OnDestroy()
SubUIManager.Close(this.ChatTipView)
SubUIManager.Close(this.UpView)
SubUIManager.Close(this.BtView)
SubUIManager.Close(this.playerHead)
-- 移除红点
-- ClearRedPointObject(RedPointType.Guild_Boss)
for type, data in pairs(_GuildBuildConfig) do
@ -593,6 +594,8 @@ function GuildMainCityPanel:OnDestroy()
ClearRedPointObject(RedPointType.Guild_RedPacket, this.btnRedPacketRedPoint)
ClearRedPointObject(RedPointType.Setting, this.headRedpot)
ClearRedPointObject(RedPointType.VipPrivilege, this.vipRedPoint)
this.playerHead = nil
end
return GuildMainCityPanel