Version 3.0.0.2

RequireComponentValidator<T> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class RequireComponentValidator<T> : AttributeValidator<RequireComponent, T>, 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