20 lines
417 B
C#
20 lines
417 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 int movement = 1;
|
||
|
|
||
|
public CardTag[] cardTags;
|
||
|
}
|