21 lines
532 B
C#
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;
|
|
}
|
|
|
|
}
|