Giter Site home page Giter Site logo

oskar-ziller / kukai-embed-unity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kukai-wallet/kukai-embed-unity

0.0 0.0 0.0 1.64 MB

An example of kukai-embed/deeplink integration in Unity

C# 4.36% TypeScript 4.98% CSS 0.60% HTML 1.61% HLSL 13.10% ShaderLab 75.34%

kukai-embed-unity's Introduction

Kukai-embed ๐Ÿ”— Unity

Folder structure:

/unity: contains a sample Unity Project

/web-client: contains a web app (react) that acts as a kukai-embed delegate

Steps

Run the Unity project:

  1. Create a new 3D unity project and import the existing scene in the /unity folder
  2. Select iOS as the build target
  3. Make sure the deeplinks are registered in the iOS Player Settings: window (menu: Edit > Project Settings > Player Settings, then select iOS). Select Other, then scroll down to Configuration. Expand the Supported URL schemes section and, in the Element 0 field, enter unitydl. That allows for unitydl:// scheme
  4. Build & run for iOS (simulator/device) -- you need to start the web-client server (kukai-embed delegate) before you try it out.

Now run the web-client

  1. In the web-client folder, run:
yarn
  1. Then run the server locally:
yarn dev

This starts the kukai-embed delegate server at port 3000. The unity sample redirects to the kukai-embed delegate in Safari or the selected system browser, then that browser redirects back to Unity via a deeplink (unitydl://). Unity parses the deeplink and extracts information regarding the address and the type of login.

kukai-embed-unity's People

Contributors

alexandrosgounis 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.