Skip to content

Unity SDK Starter Template - Embedded Wallets, Smart Wallets and Custom Contract Interactions.

Notifications You must be signed in to change notification settings

thirdweb-example/unity-take-flight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-take-flight

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.

Features

  • In-App Wallets
  • Smart Wallets
  • Custom Contract Interactions
  • Supports WebGL, Standalone

Scenes

Contains a single scene:

  • 00_Scene_Main: Contains all game and blockchain elements, including onboarding flow. Blockchain elements are mostly managed in the BlockchainManager.

Platforms supported: WebGL, Standalone.

Test in WebGL here: https://thirdweb-example.github.io/unity-take-flight/

Setup Instructions

  1. Clone this repository.
  2. Open in Unity 2022.3.17f1
  3. Create a thirdweb api key
  4. Make sure com.thirdweb.takeflight is an allowlisted bundle id for your API key, and enable Smart Wallets.
  5. If testing in WebGL, set allowlisted domains to * or to your localhost url.
  6. Find your ThirdwebManager in 00_Scene_Main and set the client id there.
  7. Press Play!

Screenshots

Login page

In-game Screenshot

Game over screen

Documentation

Contributing

Contributions are always welcome! See our open source page for more information.

Support

For help or feedback, please visit our support site