docs.unity.cn
    Show / Hide Table of Contents

    Class RangeSliderAttribute

    Property applied to int or float fields to generate a slider in the inspector.

    Inheritance
    Object
    Attribute
    PropertyAttribute
    RangeSliderAttribute
    Inherited Members
    PropertyAttribute.order
    Namespace: Unity.Cinemachine
    Syntax
    public sealed class RangeSliderAttribute : PropertyAttribute, _Attribute

    Constructors

    RangeSliderAttribute(Single, Single)

    Constructor for the range slider attribute

    Declaration
    public RangeSliderAttribute(float min, float max)
    Parameters
    Type Name Description
    Single min

    Minimum value for the range slider

    Single max

    Maximum value for the range slider

    Fields

    Max

    Maximum value for the range slider

    Declaration
    public float Max
    Field Value
    Type Description
    Single

    Min

    Minimum value for the range slider

    Declaration
    public float Min
    Field Value
    Type Description
    Single
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Saturday, May 6, 2023