Applying Scriptable Object
in Unity, I have implemented various type of items on project. The item spieces were distinguished with the concept of our project.
Each item was connected with the script which inheritted the scriptable object. The feature of Resource
and Use
is the stack. Getting the same items on the inventory, these item would set in the same slot if the slot is not fully occupied.
Expanding the item slots on inventory, we have designed equip slots on the top.
the layout can be seen with following figure.
Before the equip / unequip interaction, we have to set the buttons on item selection. Facilitating the inventory, the pop-up 'ItemInfo' was developed.
The consumables, apple, can be seen the information popup with the use button. But the 'use' doesn't match for the resources, tools and equips.
To dividing the action with the item type, the information popup could be modified