trouble-in-terror-town/Assets/Scripts/(New)/Item.cs
2022-04-30 17:27:41 +02:00

34 lines
773 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Rename it later if you wish to
[CreateAssetMenu(fileName = "Item", menuName = "InventorySystem")]
public class Item : ScriptableObject
{
public enum ItemTypeEnum
{
BasicItem,
SpecialItem,
None // If needed to return null from a function
};
public enum SlotTypeEnum
{
Melee,
Secondary,
Primary,
Grenede,
Pickprop,
Empty,
Special,
None // If needed to return null from a function
};
public string ItemName;
public uint ItemID;
public ItemTypeEnum ItemType = new ItemTypeEnum();
public SlotTypeEnum SlotType = new SlotTypeEnum();
public Object ItemObject;
}