Documentation

Economy

Economy

Add a currency to your game

Create a currency resource for your game's economy system.
Read time 1 minuteLast updated 2 days ago

The following instructions describe how to add a currency resource 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 Currency.
  6. Give the currency a Resource name, and a Resource ID for use in API calls (SDK and HTTP). For example, if your in-game currency uses gold coins, the resource name could be Gold Coins, and the ID is auto-generated from the name but you can change it to anything that suits you and your game.
  7. (Optional) Enter an Initial balance and Maximum balance for this resource.
  8. To add any optional custom JSON data you want allocated to this currency, select Add custom JSON and enter it into the field. Refer to Custom data.
  9. Select Create.
The new currency now appears on the Configuration page of Economy.

Additional resources