Unity SDK Template showcasing how to do a seamless onboarding experience for users using social logins and the ability to submit your score on-chain.
- In-App Wallets
- Smart Wallets
- Custom Contract Interactions
- Supports WebGL, Standalone
Contains a single scene:
00_Scene_Main
: Contains all game and blockchain elements, including onboarding flow. Blockchain elements are mostly managed in theBlockchainManager
.
Platforms supported: WebGL, Standalone.
Test in WebGL here: https://thirdweb-example.github.io/unity-take-flight/
- Clone this repository.
- Open in Unity 2022.3.17f1
- Create a thirdweb api key
- Make sure
com.thirdweb.takeflight
is an allowlisted bundle id for your API key, and enable Smart Wallets. - If testing in WebGL, set allowlisted domains to
*
or to your localhost url. - Find your
ThirdwebManager
in00_Scene_Main
and set the client id there. - Press Play!
- To build the game, follow the build instructions
- Learn more from the Unity SDK Documentation
Contributions are always welcome! See our open source page for more information.
For help or feedback, please visit our support site