Class RangeSliderAttribute
Property applied to int or float fields to generate a slider in the inspector.
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
[Obsolete("Use RangeAttribute instead")]
public sealed class RangeSliderAttribute : PropertyAttribute
Constructors
RangeSliderAttribute(float, float)
Constructor for the range slider attribute
Declaration
public RangeSliderAttribute(float min, float max)
Parameters
Type | Name | Description |
---|---|---|
float | min | Minimum value for the range slider |
float | max | Maximum value for the range slider |
Fields
Max
Maximum value for the range slider
Declaration
public float Max
Field Value
Type | Description |
---|---|
float |
Min
Minimum value for the range slider
Declaration
public float Min
Field Value
Type | Description |
---|---|
float |