Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- [CreateAssetMenu(fileName = "New Character Card", menuName = "Cards/Character")]
- public class Card : ScriptableObject
- {
- public new string name;
- public string description;
- public Sprite artwork;
- public int manaCost;
- public int attack;
- public int defense;
- public int health;
- public int rarity; // 0 = common, 1 = uncommon, 2 = rare, 3 = legendary
- public int copper;
- public int silver;
- public int gold;
- public int platinum;
- }
- [CreateAssetMenu(fileName = "New Sorcery Card", menuName = "Cards/Sorcery")]
- public class Card2 : ScriptableObject
- {
- public new string name;
- public string description;
- public Sprite artwork;
- public int manaCost;
- public int rarity; // 0 = common, 1 = uncommon, 2 = rare, 3 = legendary
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement