destroy guildmaincitypanel close playerheadview
parent
54aae5181f
commit
3c6043d32c
|
@ -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
|
Loading…
Reference in New Issue