From the course: Unity: Working with Google Firebase

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configure the scroll view

Configure the scroll view

From the course: Unity: Working with Google Firebase

Start my 1-month free trial

Configure the scroll view

- [Instructor] Now that we've got our player data all set up, we need to configure the scroll view in the UI. So head over to scenes, and load up the player list. Let's expand the canvas and the background panel and the player scroll view. The first thing we're going to do is delete our prefab instances here inside the scroll container because we're going to be loading these dynamically. In our player board manager, we need to add a few public variables we can hook up in the inspector. So underneath player list, let's add a public game object. We're going to call this row prefab. We're also going to add another public game object called scroll container. Back in unity, select the player board manager game object. Now we're going to go into our project in our prefabs folder, and drag the player item into the role prefab. And in our canvas under the player scroll view, we're going to take the scroll container and hook it up to the scroll container value. It's easier when configuring a…

Contents