Manage Rewarded Coins

This is now outdated please download V1.1

TA_OfferDetails manages offer details and interacts with various UI elements. Upon selecting an offer, the offer data is refreshed. All payout events with a conversion status of "approved" have their payout amounts added to the total coins. Coin records, including currentCoins, spentCoins, and totalCoins, are saved in JSON format.

TA_UI have two public methods to retrieve the current coins a player has and to spend coins in the game/app.

  1. SpendCoins will take an input value in float and will not produce any output.

        public void SpendCoins(float coinsToSpend)
  2. GetCurrentCoins will take not take any input value and will return current coins user has as output.

        public float GetCurrentCoins()

Last updated