Files
beyond/Assets/Scripts/ScriptableObjects/ItemObject.cs
2024-11-20 15:21:28 +01:00

21 lines
532 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Beyond
{
[CreateAssetMenu(fileName = "Item", menuName = "Beyond/Item Object", order = 1)]
public class ItemObject : ScriptableObject
{
public enum ItemType { WEAPON, ARMOUR, CONSUMABLE, RESOURCE, NONE };
public ItemType type = ItemType.NONE;
public Sprite image;
public string Name;
public string description;
public ItemBonus[] bonuses;
public ItemStats[] stats;
}
}