Code Monkey home page Code Monkey logo

firebaseunitywebgl's Introduction

What is this

A C# wrapper for the Firebase Javascript sdk for unity's WebGL platform support.

Why

Because the official Unity Firebase SDK only supports Desktop, Android and iOS platforms.

This is an implementation of the Firebase Web SDK with C# and Javascript into DLLs usable by unity's runtime WebGL builds, allowing for a full advantage of all the functionality of the native sdk of other platforms while maintaining the same code structure of the unity's sdk so you're still able to build for other platforms without having to delete the WebGL DLLs.

How to use

Build the DLLs of the services you want to use in your project, (Utilities and Firebase.App) must be buit with any service you import to the unity project.

Make sure the WebGL DLLs build target is set to WebGL only, so unity editor doesn't try to compile them. The build comes with .jslib files these are the javascript bridges where the magic happens and are automatically copied to the build folder for you.

firebaseunitywebgl's People

Contributors

ddr12 avatar

Stargazers

 avatar

Watchers

 avatar

firebaseunitywebgl's Issues

Wow?

Hello my friend, with this library I can use the same Firebase code across WebGL, Android and iOS?

If so that's actually insane, I'm surprised you don't have more stars...

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.