Better Scroll Rect
The Better Scroll Rect is extending the normal Scroll Rect.
Always Keep Selection in View
Introduced in Better UI 3.0
This option is for non-pointer navigation (like gamepad). When checked, the Better Scoll Rect automatically scrolls if the current selection is no fully visible until it is in view. This allows navigation in a scroll view without needing to access the scroll bar.
When the option is checked, the followinig other options appear:
Scroll To Selection Duration
Defines how many seconds it takes to scroll to the desired position when the selection is out of view.
Keep In View Padding
Defines how much further the view should be scrolled when the selection is out of view. If set to zero, the selectables border will be aligned with the view-border. Often, This doesn't look appealing. By adding a padding the selection is a bit more "inside" the view.
This setting is a Size Config Collection.
Scroll Sensitivity
Introduced in Better UI 3.0
The Scroll Sensitivity in the Better UI Section is a Size Config Collection and overrides the Scroll Sensitivity of the base Scroll Rect. Therefore, the other Scroll Sensitivity field further up in the inspector cannot be changed directly.
Note: Often you want the same scroll sensitivity for all Scroll Rects in the application. The Global Applier allows you to set it globally.
Start Positions
The Better Scroll Rect provides two extra fields: Horizontal Start Position and Vertical Start Position.
The Scrollbar will jump to that (relative) position on start.
If you have horizontal / vertical Scrollbars assigned, you can inject the current value of them by a click on the button next to the respective start position slider.
In the background a Coroutine is started which waits a frame before changing the positions. Therefore, it is not possible in this version of Better UI to have the position change in edit mode.
Note: This implementation may change in a future version of Better UI by changing the pivot point of the scroll view.
Scollbar Spacing
Introduced in Better UI 2.3
If the Visibility of the Horizontal and / or Vertical Scrollbar is set to "Auto Hide And Expand Viewport" a sizer configuration for the scollbar spacing appears in the lower section of the component. This will override the Spacing entry next to the Visibility (that cannot be changed anymore directly).
The resizing component will adjust the spacing relative to the screen resolution. If you want to have a fixed spacing as before, remove the modification after expanding the "Size Modification" section of the scrollbar spacing sizer box.
Hidden Properties
- horizontalScrollbarSpacing
- verticalScrollbarSpacing
- scrollSensitivity