Project_WL/Assets/Script/UI/PC/Job/PCJobUI_Class.cs

14 lines
372 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using TMPro;
using UnityEngine;
public class PCJobUI_Class : MonoBehaviour
{
2025-02-17 00:54:54 +00:00
public TextMeshProUGUI[] texts; // 0 공격타입, 1 주스탯
2024-12-15 01:39:39 +00:00
public void Set(int classid)
{
var classData = table_classconfig.Ins.Get_Data_orNull(classid);
2025-02-17 00:54:54 +00:00
texts[0].text = $"{classData.e_BattleType}";
texts[1].text = $"{classData.Get_MainStat()}";
2024-12-15 01:39:39 +00:00
}
}