21 lines
479 B
C#
21 lines
479 B
C#
public class AttandanceUI : uScrollViewMgr
|
|
{
|
|
public AttandacneCard Day7;
|
|
|
|
public void Set()
|
|
{
|
|
gameObject.SetActive(true);
|
|
var lst = table_attandance.Ins.Get_DataList();
|
|
Set_ScrollView(lst.FindAll(f=>f.n_Day < 7));
|
|
Day7.Set(lst.Find(f => f.n_Day == 7));
|
|
}
|
|
|
|
public void OnClick_Get()
|
|
{
|
|
if (SaveMgr.Ins.CanGet_Attandance())
|
|
{
|
|
SaveMgr.Ins.Get_AttandanceReward();
|
|
Set();
|
|
}
|
|
}
|
|
} |