Game Development Reference
In-Depth Information
Items
Size
1
Element 0
Golden Key
(drag from the
Project
view)
Now, click on
Play
and press the
M
key to bring up the menu window. Click on
the
INVENTORY
tab and we will see our item page. Isn't that cool?
Tip
We can add more variety of items to the
INVENTORY
page by adding the
GameObject
item that has the
item
script attached, and give a name, icon, and
information to the
Menu
(script) as we did in step 10. We can see the result, as
shown in the following screenshot: