Shegotwet/Assets/Scripts/UI/ProfileUI.cs

16 lines
347 B
C#
Raw Normal View History

2025-09-11 06:23:15 +00:00
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;
}
}