19 lines
388 B
C#
19 lines
388 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
[CreateAssetMenu(fileName = "New Card Data", menuName = "Card/Card Data")]
|
||
|
public class CardData : ScriptableObject
|
||
|
{
|
||
|
public new string name;
|
||
|
public string description;
|
||
|
|
||
|
public Sprite artwork;
|
||
|
|
||
|
public int cost;
|
||
|
public int attack;
|
||
|
public int defense;
|
||
|
|
||
|
public CardTag[] cardTags;
|
||
|
}
|