Merge branch 'china/dev-c' of http://60.1.1.230/gaoxin/JL_Client into china/dev-c
commit
cbfe1db769
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue