23 lines
496 B
C#
23 lines
496 B
C#
using TMPro;
|
|
|
|
public class AlbumUI : uScrollViewMgr
|
|
{
|
|
public TextMeshProUGUI[] texts; // 0 이름
|
|
|
|
int curGirl = 1;
|
|
|
|
public void Set()
|
|
{
|
|
gameObject.SetActive(true);
|
|
Set_ScrollView(table_album.Ins.Get_DataList(curGirl));
|
|
texts[0].text = table_girl.Ins.Get_Data(curGirl).s_Name;
|
|
}
|
|
|
|
public void OnClick_Arrow(int add)
|
|
{
|
|
curGirl += add;
|
|
if (curGirl > 8) curGirl = 1;
|
|
else if (curGirl < 1) curGirl = 8;
|
|
Set();
|
|
}
|
|
} |