Class IntervalRangeAttribute
Use this on inspector fields of type Interval to limit tha range.
public class IntervalRangeAttribute : PropertyAttribute
- Inheritance
-
IntervalRangeAttribute
- Inherited Members
Constructors
IntervalRangeAttribute(float, float)
Initializes a new instance of IntervalRangeAttribute with the given bounds.
public IntervalRangeAttribute(float min, float max)
Parameters
Properties
Max
Gets the maximum allowed value for the interval.
public float Max { get; }
Property Value
Min
Gets the minimum allowed value for the interval.
public float Min { get; }