Version 3.3.1.2

RequireComponentValidator<T> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class RequireComponentValidator<T> : AttributeValidator<RequireComponent, T>, IValidator, IAttributeValidator, IAttributeValueValidator where T : Component
Inheritance

Type Parameters

T

Constructors

RequireComponentValidator()
public RequireComponentValidator()

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