Version 3.3.1.2

NoValidationInInspectorAttribute class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
[AttributeUsage(AttributeTargets.Class)]
public class NoValidationInInspectorAttribute : Attribute, _Attribute
Put this attribute on a validator class to prevent the ValidatorDrawer from running that validator in the inspector. Typically you would use this for a validation-related attribute that has its own, complex custom drawer that should handle the validation and error/warning drawing while the inspector is being drawn, but still needs a validator to run for the project validation scans.
Inheritance
  • System.Object
  • System.Attribute
  • NoValidationInInspectorAttribute

Constructors

NoValidationInInspectorAttribute()
public NoValidationInInspectorAttribute()