Create New Currency
To create a Currency, right-click inside any project folder, go to create and select Monetization/Currency.
Last updated
To create a Currency, right-click inside any project folder, go to create and select Monetization/Currency.
Last updated
Remember that this item has to be added to the GameInstance in the Login Scene.
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.
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.