using TMPro; using UnityEngine; public class ProfileUI : MonoBehaviour { public TextMeshProUGUI[] texts; // 0 이름, 1 프로필 public void Set(int girlid) { gameObject.SetActive(true); var data = table_girl.Ins.Get_Data(girlid); texts[0].text = data.s_Name; texts[1].text = data.s_Profile; } }