Documentation

Economy

Economy

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.
  1. In the Unity Dashboard, go to Development > Products.
  2. Select Economy.
  3. Select Configuration.
  4. On the Configuration screen, select Add resource.
  5. Under Type, select Inventory item.
  6. 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.
  7. 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.
  8. Select Create.
The new inventory item now appears on the Configuration page of Economy.

Additional resources