2025-02-15 07:41:12 +00:00
|
|
|
using TMPro;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class PCLimit_StatInfo : MonoBehaviour
|
|
|
|
|
{
|
2025-07-14 17:18:25 +00:00
|
|
|
public TextMeshProUGUI[] texts_stat_title, texts_stat_value, texts_stat_value_after;
|
|
|
|
|
public GameObject[] gos; // 0 화살표, 1 다음 스탯
|
2025-02-15 07:41:12 +00:00
|
|
|
|
|
|
|
|
private void Start()
|
|
|
|
|
{
|
|
|
|
|
texts_stat_title[0].text = MyText.Get_StatName(eStat.Monster_DMG_Multiplier);
|
|
|
|
|
texts_stat_title[1].text = MyText.Get_StatName(eStat.BOSS_DMG_Multiplier);
|
|
|
|
|
texts_stat_title[2].text = MyText.Get_StatName(eStat.ALL_STAT_Multiplier);
|
|
|
|
|
texts_stat_title[3].text = table_localtext.Ins.Get_Text(260);
|
|
|
|
|
texts_stat_title[4].text = table_localtext.Ins.Get_Text(343);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected void Set(BreakingLimitTableData data)
|
2025-07-14 17:18:25 +00:00
|
|
|
{
|
|
|
|
|
texts_stat_value[0].text = data.Get_StatValue(eStat.Monster_DMG_Multiplier).ToString();
|
|
|
|
|
texts_stat_value[1].text = data.Get_StatValue(eStat.BOSS_DMG_Multiplier).ToString();
|
|
|
|
|
texts_stat_value[2].text = data.Get_StatValue(eStat.ALL_STAT_Multiplier).ToString();
|
|
|
|
|
texts_stat_value[3].text = data.n_Equip_Upgrade_Limit.ToString();
|
|
|
|
|
texts_stat_value[4].text = data.n_MaxAbilityPoint.ToString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected void Set_Next(BreakingLimitTableData data)
|
2025-02-15 07:41:12 +00:00
|
|
|
{
|
|
|
|
|
if (DSUtil.CheckNull(data))
|
2025-07-14 17:18:25 +00:00
|
|
|
DSUtil.InActivateGameObjects(gos);
|
2025-02-15 07:41:12 +00:00
|
|
|
else
|
|
|
|
|
{
|
2025-07-14 17:18:25 +00:00
|
|
|
texts_stat_value_after[0].text = data.Get_StatValue(eStat.Monster_DMG_Multiplier).ToString();
|
|
|
|
|
texts_stat_value_after[1].text = data.Get_StatValue(eStat.BOSS_DMG_Multiplier).ToString();
|
|
|
|
|
texts_stat_value_after[2].text = data.Get_StatValue(eStat.ALL_STAT_Multiplier).ToString();
|
|
|
|
|
texts_stat_value_after[3].text = data.n_Equip_Upgrade_Limit.ToString();
|
|
|
|
|
texts_stat_value_after[4].text = data.n_MaxAbilityPoint.ToString();
|
2025-02-15 07:41:12 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|