Unity: Working with Google Firebase
1h 31mIntermediate2017-07-21
Authors

Harrison Ferrone
Software Engineer, Game Developer, and Creative Technologist
Course details
A dependable backend is a must-have for today's games. Giving users the ability to log in and save and retrieve player data can make or break a community-oriented game. The goal of this course is to build a flexible and scalable networking solution, which can be reused in any of your future games, using Unity and Google Firebase. Instructor Harrison Ferrone starts with an overview of the Firebase Authentication and Realtime Database modules and the Firebase SDK. He shows how to script some basic functionality for logging in and registering users, and progresses to more complex functions like saving and fetching data, waiting for responses while providing good visual feedback, and displaying real-time data in the Unity GUI. By following along, you will understand how to integrate Firebase with Unity, save and fetch user data in a game scene, and bundle your work in asset packages that can be used in many other Unity projects.
Learning objectives
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
Learning objectives
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
Skills covered
FirebaseUnityWeb Development ToolsDatabase DevelopmentDatabase ManagementSoftware Development ToolsGoogleWeb DevelopmentSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - Using the exercise files
1. Project Overview
- 04 - Demo - What you're building
- 05 - Navigate the starter project
- 06 - The database manager
2. Introduction to Firebase
- 07 - Firebase 101
- 08 - Authentication options overview
- 09 - Integrate the Firebase SDK
3. Authenticating Players
- 10 - Sign up with email and password
- 11 - Use delegates and events
- 12 - Finish the signup functionality
- 13 - Add a login
- 14 - Test in Xcode
4. Using the Realtime Database
- 15 - Data structure overview
- 16 - Build a reference router
- 17 - Create the player model
- 18 - Save player data
- 19 - Retrieve player data
- 20 - Handle changing data
- 21 - Sorts and filters
- 22 - Different write methods
5. Displaying Data
- 23 - Configure the scroll view
- 24 - Configure the row prefab
- 25 - Display profile information
6. Reusability
- 26 - Make an asset package
- 27 - Configure for another project
Conclusion
- 28 - Next steps