VanRtkDbg/Assets/Scripts/CardDisplay.cs

27 lines
483 B
C#
Raw Normal View History

using System.Collections;
2022-03-07 23:19:35 -08:00
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CardDisplay : MonoBehaviour
{
public CardData cardData;
public Text nameText;
public Text costText;
public Text attackText;
public Text defenseText;
public Text healthText;
// Start is called before the first frame update
void Start()
{
}
public void SetCardData(CardData data)
{
cardData = data;
2022-03-07 23:19:35 -08:00
}
}