Skip to content

thirdweb-example/unity-take-flight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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

  • Embedded 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. (Note: known issue - you may need to host your WebGL build on something like github pages for Embedded Wallets to work properly temporarily)
  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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published