Class MinMaxRangeSliderAttribute
Property applied to int or float fields to generate a minmax range slider in the inspector.
Inherited Members
Namespace: Unity.Cinemachine
Syntax
public sealed class MinMaxRangeSliderAttribute : PropertyAttribute, _Attribute
Constructors
MinMaxRangeSliderAttribute(Single, Single)
Constructor for the range slider attribute
Declaration
public MinMaxRangeSliderAttribute(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 |