Skip to content

A Unity package that makes use of the Firebase Javascript SDK to implement the basic Realtime Database functions on WebGL builds.

Notifications You must be signed in to change notification settings

cmersinli/FirebaseWebGL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FirebaseWebGL

A Unity package that makes use of the Firebase Javascript SDK to implement the basic Realtime Database functions on WebGL builds

Installation

  • Copy the FirebaseWebGL folder into your Unity project assets folder.
  • Consider also adding the RestClient, Fullserializer and Textmeshpro folders to get the project fully up and running.
  • Alternatively, you can import the latest .unitypackage from the repository releases.

Usage

  1. Call any of the basics Firebase Javascript SDK functions from the FirebaseBridge.cs class
  2. Build for WebGL
  3. Include the Firebase app configuration in the index.html file generated by Unity (you can use this tutorial here).
  4. Finally, make sure to also include the Firebase SDKs you need to use in your App (Step 5 of the previous link).

Services

  • Realtime Database
  • Authentication
  • Cloud Functions

Additional info

  • You can find a working implementaiton of this package here
  • For Storage, you'll also need to set up cors for your bucket. More info here or in the README.txt file in the Storage example in the project.

Realtime Database Methods Authentication Methods Cloud Functions Methods Storage MEthods

About

A Unity package that makes use of the Firebase Javascript SDK to implement the basic Realtime Database functions on WebGL builds.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 86.2%
  • ShaderLab 11.9%
  • HLSL 1.7%
  • JavaScript 0.2%