Version 2.1.0.0

SceneObjectsOnlyValidator<T> class

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

Type Parameters

T

Constructors

SceneObjectsOnlyValidator()
public SceneObjectsOnlyValidator()

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