The Scrollbar component

The parent Scrollbar object has a Scrollbar component. It has all the properties common to the interactable UI objects, along with a few that are exclusive to Scrollbars:

The Scrollbar works (and looks) just like the Slider. However, you'll note that you do not have the ability to select the range of values for the Scrollbar as you do with a Slider. A Scrollbar's values are always restricted to be between 0 and 1. This difference in properties has to do with a difference in intent for the two types of objects. Sliders are used, generally, to allow the player to select values that can vary greatly based on the slider. ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.