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.
- In the Unity Dashboard, go to Development > Products.
- Select Economy.
- Select Configuration.
- On the Configuration screen, select Add resource.
- Under Type, select Currency.
- 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.
- (Optional) Enter an Initial balance and Maximum balance for this resource.
- 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.
- Select Create.