Version 3.3.1.2

PropertyRangeValidator<T> class

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

Type Parameters

T

Constructors

PropertyRangeValidator()
public PropertyRangeValidator()

Methods

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

Returns
System.Boolean

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