From 09bc892c7283df8757a07b646d5af21ddaa263d1 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 06 十一月 2025 18:22:34 +0800
Subject: [PATCH] 164 天子的考验-客户端
---
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