using System.Collections; using System.Collections.Generic; using UnityEngine; public class HelpUI_MemoryPetBattleCard : CardBase { public UILabel[] labels; // 0 목표, 1 칭호, 2 공격력, 3 체력 public GameObject go_clear; public override void Set(T _base) { base.Set(_base); var Tdata = _base as MemoryPetBattleTableData; var point = ServerInfo.Ins.m_ServerData.Get_Memeory_PetBattle_Point(); labels[0].text = DSUtil.GetThousandCommaText(Tdata.Point); labels[1].text = table_title.Ins.Get_Data(Tdata.TitleID).Name; labels[2].text = DSUtil.Format("{0}%", Tdata.PetAttack * 100f); labels[3].text = DSUtil.Format("{0}%", Tdata.PetHP * 100f); go_clear.SetActive(point >= Tdata.Point); } }