# Create New Currency

Remember that this item has to be added to the GameInstance in the Login Scene.

<figure><img src="https://215355839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc8AVbPtcUOjcVrQx9Eyu%2Fuploads%2FQbx0sJ9gFivmI6KRIgdo%2FCurrency.png?alt=media&#x26;token=bbe8ae6a-bd7c-4155-8ea9-8313c8317d7c" alt=""><figcaption></figcaption></figure>

Coin Name: Name of the currency that appears in the menus, if necessary.

Coin Id: Unique ID that identifies the currency and will be used in reward items like quests and coupons.

Initial Amount: Initial value of this currency that the player will have.

Amount: Current amount of currency (I recommend leaving 0 (zero) and letting the Backend (firebase) take care of updating this value).

Icon: Currency Icon.

## Display currency in game interface:

<figure><img src="https://215355839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc8AVbPtcUOjcVrQx9Eyu%2Fuploads%2F0oottDo6MLHthodMueRw%2FShowCurrency.png?alt=media&#x26;token=27616dda-8119-4e30-9590-c04d0db4d5af" alt=""><figcaption></figcaption></figure>

To display the amount of currency on the screen, create a CurrencyDisplay component. You can use the Display\_CurrencyGold object from the home scene as an example to understand how to do this.

Currency ID : Currency ID you want to display on screen.

Currency Amount: Text that will display the amount of currencies.

Currency Icon: Image containing the Scriptable Currency sprite/icon.
