Al Heck

Variable Example for Inventory Item

We will define the item class with the following pseudocode:

//every item has a name
//every item has a description
//every item has an image icon
//every item has a attack strength

Super easy to assign. The only trick is to make sure the sprite field uses the item. You can then assign it to the component element in the inspector.