From 89343a7a0909e5244a3b69c4db1294de4536243b Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期一, 15 十二月 2025 18:15:22 +0800
Subject: [PATCH] 262 幻境阁系统-客户端 新增仅适用武将解锁的头像和形象的红点移除规则
---
Main/System/Battle/UIComp/BasicHeroInfoContainer.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Main/System/Battle/UIComp/BasicHeroInfoContainer.cs b/Main/System/Battle/UIComp/BasicHeroInfoContainer.cs
index 8f7c1eb..c51903c 100644
--- a/Main/System/Battle/UIComp/BasicHeroInfoContainer.cs
+++ b/Main/System/Battle/UIComp/BasicHeroInfoContainer.cs
@@ -7,9 +7,12 @@
public Image countryIcon;
+ public Text txtLv;
+
public void SetHeroInfo(TeamHero teamHero)
{
- txtLvName.text = string.Format("Lv.{0} {1}", teamHero.level, teamHero.name);
+ txtLvName.text = teamHero.name; //string.Format("{0}", teamHero.level, teamHero.name);
countryIcon.SetSprite(HeroUIManager.Instance.GetCountryIconName((int)teamHero.Country));
+ txtLv.text = string.Format("[{0}]", teamHero.level);
}
}
\ No newline at end of file
--
Gitblit v1.8.0