Frequently Used Functions
After successfully installing iDos Games SDK, copy the Login and Main scenes to your project folder and set the Login scene first and Main scene second.

The Login and Main scenes already contain all the scripts and components to ensure everything works out of the box. The Login scene is where the player registers or logs in, and then transitions to the Main scene.

You can simply hide unnecessary functionality from the SDK from the UI in the Main Canvas.
Rewards
Any good game needs to reward players for specific actions or rewards. The SDK includes ready-made functionality for implementing rewards, you can view them by clicking the "Reward" button.

ClaimRewardSystem
If you are writing your own reward implementation, you can use the ClaimRewardSystem class in your code.
ClaimCoinReward
ClaimTokenReward (VIP)
ClaimSkinProfit (VIP)
UserInventory
In this class, you can get data about the user's inventory. How many items, currency, spins, and chests the user has.
UserDataService and IGSUserData
All player data is retrieved and processed in these classes. You can retrieve data such as inventory, currencies, and other player data.
Saving Player Data
If you need to implement saving of custom player data, then use the following methods.
Last updated
Was this helpful?