Join Jesse Freeman for an in-depth discussion in this video Scrolling lists, part of Unity 5: UI.
- Now let's take a look at how to make…our MaskedGroup scroll.…We're going to need to Create a new Empty game object…inside of our Canvas.…And let's call this ScrollGroup.…Next, we'll drag the MaskedGroup inside…of this new game object.…On the ScrollGroup, we're going to want to add…a Scroll Rect component.…Let's go down to UI and search for the Scroll Rect…at the bottom of the list.…The Scroll Rect has several properties.…
The first is Content.…This is the area that's going to get…scrolled inside of the Scroll Rect.…Next, you can check off whether you want…the Scroll Rect to work Horizontally or Vertically.…You can also set a Movement Type.…By default, it's set to Elastic, but there's Unrestricted…and Clamped.…You also can change the Elasticity.…You can give it an Inertia…and change the Scroll Sensitivity.…You'll also need to give it a Viewport,…which is usually the area that's masked off…inside of the Scroll Rect.…
And you can set Horizontal…and Vertical Scrollbar components.…Let's uncheck Horizontal scrolling and drag our LayoutGroup…
- Adding new components to the Canvas
- Working with RectTransforms
- Nesting UI elements
- Adding rich text and effects to the UI
- Creating images
- Styling UI buttons
- Handling input
- Creating sliders
- Controlling the layout of the screen
- Adding toggles and dropdowns
Skill Level Intermediate
1. The Canvas
2. Working with the RectTransform
3. Working with Text
4. Working with Images
5. Working with Buttons
6. Handling UI Input
7. Working with a Slider
8. Controlling Layout
9. Toggles, Dropdowns, and the Input Field
- 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.