using System.Collections; using System.Collections.Generic; using Assets.HeroEditor4D.InventorySystem.Scripts.Enums; using UnityEngine; using UnityEngine.UI; [CreateAssetMenu(fileName = "InventoryItem", menuName = "ScriptableObjects/InventoryItem", order = 2)] public class item : ScriptableObject { public string type; public bool isUsable; public Sprite image; public GameObject prefab; public int count; public int spawnProbability = 50; public int healthIncrease = 10; // public InventoryItemType type; // public InventoryItemAction action; // public enum InventoryItemType{ // } // public enum InventoryItemAction{ // } }