Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- [CreateAssetMenu(fileName = "Item", menuName = "Item", order = 3)]
- public class ItemScriptableObject : ScriptableObject
- {
- #region Standard Item Fields
- [Space(10)]
- [Header("Standard Item Fields")]
- public int weight = 0;
- [Space(10)]
- public int maxStack = 1;
- [Space(10)]
- public int price = 0;
- [Space(10)]
- public int spawnFrequency = 0;
- [Space(10)]
- public Sprite groundSprite;
- public Sprite inventorySprite;
- [Space(10)]
- public bool isCraftable = false;
- #endregion
- #region Gear Item Fields
- [Space(30)]
- [Header("Gear Item Fields")]
- public int maxInventorySpace = 0;
- [Space(10)]
- public GearType gearType;
- #endregion
- #region Consumable Item Fields
- [Space(30)]
- [Header("Consumable Item Fields")]
- public int amountToRestore;
- #endregion
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement