Now that we've created our inventory and can show it on the GUI, let's set up a test scene and try out our new inventory.
To start off, create a new scene and name it
"Chapter 4". After this, create two empty GameObjects, name one of them
"Inventory" and the other one
Inventory, creating a parent-child relationship. This is what your hierarchy should look like now:
Once you've done this, drag the
Inventory script to the
Inventory GameObject. Set the X position of Inventory Rect to
300 and its Y position to
200. Then in Inv Items, set the Size value to
9 and in Quick Items set its Size value to ...