Project_WL/Assets/Script/UI/Center/DrawlotsCard.cs

16 lines
353 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DrawlotsCard : CardBase
{
public UILabel label_name, label_amount;
public void Set(string _name, int _count)
{
gameObject.SetActive(true);
label_name.text = _name;
label_amount.text = DSUtil.Format("x{0}", _count);
}
}