docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)