O'Reilly logo

Building an RPG with Unity 5.x by Vahé Karamian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating inventory item

It is now time to actually create the items we are going to use for our inventory system. I will be creating one item type from each item category to keep things simple. This section will really be again highly dependent on how you have modeled your character models. In my particular model, as discussed earlier in the book, all of the character's essential parts are embedded within the fbx. In this case, you will need to navigate down your model's hierarchy and extract the mesh for the specific armour or weapon or anything else that you are going to be using for the inventory:

Note

You can also use independent models representing your inventory items that may or may not be related to your character model's mesh. These items ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required