From b5cdc4acce06b4e9d21b4cc56e99591fe0381564 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 18 十一月 2025 21:57:09 +0800
Subject: [PATCH] 108 【主界面】仙树升级 213 【付费内容】特权卡 - 临时
---
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