30 lines
623 B
C#
30 lines
623 B
C#
|
using System;
|
|||
|
using UnityEditor;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
|
|||
|
[CreateAssetMenu(fileName = "CardConfig")]
|
|||
|
public class CardConfig : ScriptableObject
|
|||
|
{
|
|||
|
public CardCharacteristics CardCharacteristics;
|
|||
|
}
|
|||
|
[Serializable]
|
|||
|
public class CardCharacteristics
|
|||
|
{
|
|||
|
public string cardName;
|
|||
|
public Sprite picture;
|
|||
|
[TextArea(3, 6)]
|
|||
|
public string description;
|
|||
|
[Header("Cost")]
|
|||
|
public int quantityStamina;
|
|||
|
public int quantityHealth;
|
|||
|
[Space]
|
|||
|
[Header("Damage")]
|
|||
|
public int damage;
|
|||
|
[Space]
|
|||
|
[Header("Effects")]
|
|||
|
public int healing;
|
|||
|
[Space]
|
|||
|
[Header("DON'T WORKING")]
|
|||
|
public int armor;
|
|||
|
}
|