【Debug】红点不消失问题debug日志添加
parent
4077e33390
commit
d20e47535e
|
@ -603,7 +603,10 @@ function this.SetAnim()
|
|||
end
|
||||
|
||||
-- 绑定红点
|
||||
this.bindred = 0
|
||||
function this.BindRedPoint()
|
||||
this.bindred = this.bindred + 1
|
||||
LogError("++主界面绑定红点:"..this.bindred)
|
||||
BindRedPointObject(RedPointType.Mail, this.mailRedPoint)
|
||||
BindRedPointObject(RedPointType.DailyTaskMain, this.DailyRedPoint)
|
||||
BindRedPointObject(RedPointType.Shop, this.rpShangdian)
|
||||
|
@ -626,6 +629,8 @@ function this.BindRedPoint()
|
|||
end
|
||||
-- 绑定红点
|
||||
function this.ClearRedPoint()
|
||||
this.bindred = this.bindred - 1
|
||||
LogError("--主界面解绑红点:"..this.bindred)
|
||||
ClearRedPointObject(RedPointType.Mail, this.mailRedPoint)
|
||||
ClearRedPointObject(RedPointType.DailyTaskMain, this.DailyRedPoint)
|
||||
ClearRedPointObject(RedPointType.Shop, this.rpShangdian)
|
||||
|
|
Loading…
Reference in New Issue