Version 3.3.1.2

RangeValidator<T> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class RangeValidator<T> : AttributeValidator<RangeAttribute, T>, IValidator, IAttributeValidator, IAttributeValueValidator where T : struct
Inheritance

Type Parameters

T

Constructors

RangeValidator()
public RangeValidator()

Methods

CanValidateProperty(InspectorProperty)
public override bool CanValidateProperty(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Boolean

Validate(ValidationResult)
protected override void Validate(ValidationResult result)
Parameters
ValidationResult result