Item Definition

Item Definition

The item definition is a scriptable object that contains data about an item, such as its name, icon, etc… Using scriptable objects makes it very easy to create items and organize them. When an item is spawned you can use the itemDefinition to tell if the items are similar. If the item is flagged as not unique the items can be stacked.

Image

you can create item definition by right-clicking in the project view and going to Create -> Dypsloom -> Inventory -> ItemDefinition.