Giter VIP home page Giter VIP logo

luvnft / unity-flight Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thirdweb-example/unity-take-flight

0.0 0.0 0.0 598.31 MB

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

Home Page: https://thirdweb-example.github.io/unity-take-flight/

JavaScript 80.49% C 0.04% Objective-C 0.01% Java 0.01% C# 18.75% CSS 0.01% Objective-C++ 0.03% HTML 0.03% HLSL 0.08% ShaderLab 0.57%

unity-flight's Introduction

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

unity-flight's People

Contributors

0xfirekeeper avatar saminacodes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.