Version 2.1.0.0

AssetsOnlyValidator<T> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class AssetsOnlyValidator<T> : AttributeValidator<AssetsOnlyAttribute, T>, IAttributeValidator where T : Object
Inheritance

Type Parameters

T

Constructors

AssetsOnlyValidator()
public AssetsOnlyValidator()

Methods

Validate(Object, T, MemberInfo, ValidationResult)
protected override void Validate(object parentInstance, T memberValue, MemberInfo member, ValidationResult result)
Parameters
System.Object parentInstance

T memberValue

System.Reflection.MemberInfo member

ValidationResult result