Join Harrison Ferrone for an in-depth discussion in this video Configure the row prefab, part of Unity: Working with Google Firebase.
- [Instructor] Hi, let's navigate…into our scripts utilities folder…and create a new C sharp script.…Right-click, create, C sharp script.…I'm going to call this row config.…Now, what this is going to do is handle…putting all the properties of our player objects…into their respective labels in the UI…for each row we put into the scroll view.…So go ahead and open this up in model develop.…I'm going to delete the start and update functions…and I'm going to add in using unity engine dot UI.…
So our row config is going to have several public properties…that we're going to hook up in the inspector.…Public text score, public text email,…public text level,…public image profile pic,…then public list of type sprite,…we're going to call this images list.…We're going to randomly select a profile pic…for each of our rows from this images list…because pulling real profile pics from a social login…is beyond the scope of this course.…
So here our row config is going to have one public method,…public void initialize,…we're going to take in a player object…
- 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
Building Custom Tools to Extend the Unity IDEwith Jesse Freeman2h 11m Intermediate
Careers in the Game Industrywith Christian Bradley1h 19m Beginner
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.