first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "NewItem", menuName = "Crafting/ItemData")]
|
||||
public class ItemData : ScriptableObject
|
||||
{
|
||||
[Header("Identity")]
|
||||
public string itemId;
|
||||
public string itemName;
|
||||
[TextArea(2, 4)] public string description;
|
||||
|
||||
[Header("Presentation")]
|
||||
public Sprite icon;
|
||||
public Color itemColor = Color.white;
|
||||
|
||||
[Header("Stacking")]
|
||||
[Min(1)] public int maxStack = 64;
|
||||
public bool isResource;
|
||||
}
|
||||
Reference in New Issue
Block a user