Testing the inventory system

For testing purposes, I have placed a number of the inventory item prefabs created earlier in this chapter. Take a look at the following screenshot:

Inventory items to be collected

Start the game from the main menu and go through the character customization scene to save the character player and start the game. Once you are in the playable scene, go ahead and collect a few of the items that have been placed throughout the scene. Take a look at the following screenshot:

Item inserted into inventory - 1

Notice in ...

Get Building an RPG with Unity 2018 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.