From d20e47535ef0ddc1658f27796d34b14235698d74 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Thu, 3 Jun 2021 19:50:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90Debug=E3=80=91=E7=BA=A2=E7=82=B9?= =?UTF-8?q?=E4=B8=8D=E6=B6=88=E5=A4=B1=E9=97=AE=E9=A2=98debug=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua index f281b9ea10..7a4b9bf275 100644 --- a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua @@ -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)