Merge branch 'china/dev-c' of http://60.1.1.230/gaoxin/JL_Client into china/dev-c

dev_chengFeng
jiaoyangna 2021-06-05 11:18:45 +08:00
commit cbfe1db769
1 changed files with 8 additions and 7 deletions

View File

@ -1298,19 +1298,20 @@ function this:OnClose()
this.ChatTipView:StopCheck()
PatFaceManager.isLogin = false
FixedUpdateBeat:Remove(this.OnUpdate, self)
for k,v in ipairs(activitys) do
if v.RpType > 0 then
ClearRedPointObject(v.RpType,activityTabs[k].redpot)
-- activityTabs[k].go.gameObject:SetActive(false)
end
end
end
--界面销毁时调用(用于子类重写)
function this:OnDestroy()
this.spLoader:Destroy()
for k,v in ipairs(activitys) do
if v.RpType > 0 then
ClearRedPointObject(v.RpType,activityTabs[k].redpot)
activityTabs[k].go.gameObject:SetActive(false)
end
end
activitys = {}
activityTabs = {}
activitys = {}
SubUIManager.Close(this.UpView)
SubUIManager.Close(this.BtView)
SubUIManager.Close(this.ChatTipView)