Namespace: | Sirenix.OdinInspector.Editor.Validation |
Assembly: | Sirenix.OdinInspector.Editor |
public abstract class RootObjectValidator<TValue> : ValueValidator<TValue>, IValidator, DefaultValidatorLocator.IValueValidator_InternalTemporaryHack where TValue : Object
protected RootObjectValidator()
public TValue Object { get; }
public TValue Value { get; set; }
protected virtual bool CanValidateObject(TValue obj)
TValue | obj |
System.Boolean |
public override sealed bool CanValidateProperty(InspectorProperty property)
InspectorProperty | property |
System.Boolean |
protected virtual bool CanValidateRootProperty(InspectorProperty rootProperty)
InspectorProperty | rootProperty |
System.Boolean |
protected override void Validate(ValidationResult result)
ValidationResult | result |