Version 3.1.1.0

RequiredInPrefabInstancesAttributeValidator<T> class

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

Type Parameters

T

Constructors

RequiredInPrefabInstancesAttributeValidator()
public RequiredInPrefabInstancesAttributeValidator()

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