using System.Collections; using System.Collections.Generic; using UnityEngine; public class BookPageCard : CardBase { public UILabel label_page; public GameObject go_obtain, go_noti; public override void Set(T _base) { base.Set(_base); var tdata = _base as BookPageTableData; var sdata = ServerInfo.Ins.m_ServerData; go_obtain.SetActive(sdata.Get_BookPage(tdata.Book, tdata.Page) > 0); label_page.text = tdata.Page.ToString(); go_noti.SetActive(Menu_Book.dic_newBookPage.ContainsKey(tdata.Book) && Menu_Book.dic_newBookPage[tdata.Book].Find(f => f == tdata.Page) == tdata.Page); } }