Project_WL/Assets/Script/UI/Collection/Equipment/CollectionStatUpCard.cs

22 lines
489 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using TMPro;
public class CollectionStatUpCard : CardBase
{
public TextMeshProUGUI[] texts; // 0 스탯명, 1 스탯량
int m_StatVal = 0;
public override void Set<T>(T _base)
{
base.Set(_base);
2025-03-15 04:39:37 +00:00
texts[0].text = MyText.Get_eAwakenUpgradeOptionTypeName(_base.ToString());
2024-12-15 01:39:39 +00:00
m_StatVal = 0;
texts[1].text = "0";
}
public override void Set(int _val)
{
m_StatVal += _val;
texts[1].text = m_StatVal.ToString();
}
}