yyl
2025-08-29 dbb4ea01211573e782666e45eb859c96859b2cd6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using UnityEngine;
using UnityEngine.UI;
 
public class BasicHeroInfoContainer : MonoBehaviour
{
    public Text txtLvName;
 
    public Image countryIcon;
 
    public void SetHeroInfo(TeamHero teamHero)
    {
        txtLvName.text = string.Format("Lv.{0} {1}", teamHero.level, teamHero.name);
        countryIcon.SetSprite(HeroUIManager.Instance.GetCountryIconName((int)teamHero.Country));
    }
}