Attribute · Ara
RangeAttribute
Inclusive numeric bounds (Unity's [Range], same meaning).
public sealed class RangeAttribute : AttributeConstructors
RangeAttribute
public RangeAttribute(double min, double max);Inclusive numeric bounds (Unity's [Range], same meaning).
Properties
Min
public double Min { get; }Smallest allowed value.
Max
public double Max { get; }Largest allowed value.