Version 3.0.0.2

RegisterValidatorAttribute class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class RegisterValidatorAttribute : Attribute, _Attribute
Apply this to an assembly to register validators for the validation system. This enables locating of all relevant validator types very quickly.
Inheritance
  • System.Object
  • System.Attribute
  • RegisterValidatorAttribute

Constructors

RegisterValidatorAttribute(Type)
public RegisterValidatorAttribute(Type validatorType)
Parameters
System.Type validatorType

Fields

Priority
public int Priority
ValidatorType
public readonly Type ValidatorType