Unity SDK
Unity SDK Overview
Add PlaySuper rewards to your Unity game on Android and iOS, from installation to players, coins, store and touchpoints
The PlaySuper Unity SDK lets you add a complete rewards system to your Unity game. Players earn coins through gameplay and redeem them for real rewards, all inside a WebView store that opens within your game on Android and iOS.
Prerequisites: Complete the Console Setup Guide first so you have your API key and coin ID ready. The SDK requires Unity 2022.3 or later.
What you can do with the SDK
- Manage players: create and authenticate players using your game's internal IDs
- Distribute coins: award coins when players complete actions, with automatic offline queuing
- Open the store: launch the PlaySuper rewards store in a WebView, with optional deep-linking
- Sync transactions: receive store purchases and refunds inside the game client
- Fetch touchpoints: load reward widgets to render in your own game UI
- Fetch curated lists: display pre-configured product and reward collections
- Track analytics: attach persistent user properties to every SDK event
Integration steps
Follow these guides in order:
| Step | Guide | What you will do |
|---|---|---|
| 1 | Installation | Install GPM WebView and the PlaySuper SDK, configure Android and iOS |
| 2 | Core Usage | Initialize, create players, login, distribute coins, and open the store |
| 3 | Transaction Sync | Receive purchases and refunds in the game client |
| 4 | Store Close Handling | Run your own logic when the player closes the store |
| 5 | Touchpoints & Curated Lists | Fetch and render reward widgets and product collections |
| 6 | Complete Example | Full integration script, offline support, user properties, and troubleshooting |
Support
- Email: engineering@playsuper.club
- GitHub: unity-sdk-public