Version 2.1.11

ChildGameObjectsOnlyValidator<T> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
[NoValidationInInspector]
public class ChildGameObjectsOnlyValidator<T> : AttributeValidator<ChildGameObjectsOnlyAttribute, T>, IAttributeValidator where T : Object
Inheritance

Type Parameters

T

Constructors

ChildGameObjectsOnlyValidator()
public ChildGameObjectsOnlyValidator()

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