Join Harrison Ferrone for an in-depth discussion in this video Build a reference router, part of Unity: Working with Google Firebase.
- [Instructor] Accessing the real time database from…our project relies on constructing Firebase references…in code, and then either pulling or pushing data to them.…These references are essentially paths we can specify…in order to get to the right place in our json tree.…These can get really long and error-prone, especially…when we look at adding queries and filters later on.…So it's nice to have a separate class to handle this.…Our router class is going to be pretty simple…and expandable.…
So go into your scripts folder, right-click create,…C# script.…We're going to name this Router.…Go ahead and double-click and open it up in MonoDevelop.…At the top of this script, we need our Firebase…using directives.…So, under Unity engine, let's add using Firebase,…using Firebase.Database, and using Firebase.Unity.Editor.…
This last using statement is going to let us interact…with our database without having to run the game in Xcode,…which, honestly, makes our lives much easier going forward.…We're not really good need the start and update functions,…
- Working with Firebase
- Adding signup and login functionality
- Building a player class
- Saving data
- Retrieving data
- Displaying data in the Unity GUI
- Making a reusable asset package for other Unity projects
Skill Level Intermediate
Careers in the Game Industrywith Christian Bradley1h 19m Beginner
Building Custom Tools to Extend the Unity IDEwith Jesse Freeman2h 11m Intermediate
Unity 5: 2D Building an Adventure Gamewith Jesse Freeman2h 22m Intermediate
1. Project Overview
2. Introduction to Firebase
3. Authenticating Players
4. Using the Realtime Database
5. Displaying Data
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.