Add an inventory item to your game
Create an inventory item resource for your game's economy system.
Read time 1 minuteLast updated 2 days ago
The following instructions describe how to add an inventory item to your game’s economy system.
- In the Unity Dashboard, go to Development > Products.
- Select Economy.
- Select Configuration.
- On the Configuration screen, select Add resource.
- Under Type, select Inventory item.
- Give the inventory a Resource name, and a Resource ID for use in API calls. For example, if your in-game inventory item is a magic hat, the item name could be Magic Hat, and the ID is auto-generated from the name but you can change it to anything that suits you and your game.
- To add optional custom JSON data you want allocated to this inventory item, select Add custom JSON and enter the JSON into the field. Refer to Custom data.
- Select Create.