12345678910111213141516171819202122232425262728293031 |
- 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 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{
- // }
- }
|