From 39001a600fcae2bcf27c225df8752d75fb92fef4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 11:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
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