14 lines
372 B
C#
14 lines
372 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
public class PCJobUI_Class : MonoBehaviour
|
|
{
|
|
public TextMeshProUGUI[] texts; // 0 공격타입, 1 주스탯
|
|
|
|
public void Set(int classid)
|
|
{
|
|
var classData = table_classconfig.Ins.Get_Data_orNull(classid);
|
|
texts[0].text = $"{classData.e_BattleType}";
|
|
texts[1].text = $"{classData.Get_MainStat()}";
|
|
}
|
|
} |