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