Enum ScrollRect.ScrollbarVisibility
Enum for which behavior to use for scrollbar visibility.
Namespace: UnityEngine.UI
Assembly: UnityEngine.UI.dll
Syntax
public enum ScrollRect.ScrollbarVisibility
Fields
Name | Description |
---|---|
AutoHide | Automatically hide the scrollbar when no scrolling is needed on this axis. The viewport rect will not be changed. |
AutoHideAndExpandViewport | Automatically hide the scrollbar when no scrolling is needed on this axis, and expand the viewport rect accordingly. |
Permanent | Always show the scrollbar. |