27 lines
483 B
C#
27 lines
483 B
C#
using System.Collections;
|
|
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;
|
|
}
|
|
}
|