docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum RestrictedValuesPolicy

    The policy to restrict the values of the slider.

    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public enum RestrictedValuesPolicy

    Fields

    Name Description
    CtrlCustomMarks

    The slider can only take values from a list of custom marks when the control key is pressed, and any value otherwise.

    CtrlStep

    The slider can only take values that are multiples of the step when the control key is pressed, and any value otherwise.

    CustomMarks

    The slider can only take values from a list of custom marks.

    None

    No restriction. The slider can take any value in its range.

    Step

    The slider can only take values that are multiples of the step.

    In This Article
    Back to top
    Copyright © 2025 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)