first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace OTG.Lab06.Abilities
|
||||
{
|
||||
[CreateAssetMenu(menuName = "OTG/Lab06/Ability Data", fileName = "AbilityData")]
|
||||
public sealed class AbilityData : ScriptableObject
|
||||
{
|
||||
[Header("Identity")]
|
||||
public string abilityId;
|
||||
public string abilityName;
|
||||
[TextArea(2, 5)] public string description;
|
||||
public Sprite icon;
|
||||
|
||||
[Header("Numbers")]
|
||||
public float manaCost;
|
||||
public float cooldown;
|
||||
public float damage;
|
||||
public float castRange;
|
||||
|
||||
[Header("Behaviour")]
|
||||
public GameObject effectPrefab;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user