From 4f840d9463336b217ca4f33442726f78217e1f44 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Tue, 23 Mar 2021 15:53:59 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A5=9E=E5=B0=86=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=9D=90=E6=96=99=E4=BE=9D=E6=97=A7=E4=BC=9A?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E5=B0=8F=E7=BA=A2=E7=82=B9=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/RoleInfo/RoleInfoLayout.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoLayout.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoLayout.lua index 12346cca2c..726a966323 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoLayout.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoLayout.lua @@ -263,6 +263,10 @@ function this:UpdateHeroUpLvAndBreakMaterialShow() else this.gongmingText:SetActive(false) end + --红点检测 + local upLvRedpoint = HeroManager.LvUpBtnRedPoint(curHeroData) + this.upLvBtnRedPoint:SetActive(upLvRedpoint) + parent:CheckRedPointType(1,upLvRedpoint) end --单个技能显示 @@ -395,9 +399,6 @@ function this:UpdateHeroUpLvAndBreakData() end end this:UpdateHeroUpLvAndBreakMaterialShow() - local upLvRedpoint = HeroManager.LvUpBtnRedPoint(curHeroData) - this.upLvBtnRedPoint:SetActive(upLvRedpoint) - parent:CheckRedPointType(1,upLvRedpoint) end function RoleInfoLayout:OnSortingOrderChange()