Version 3.1.1.0

SerializedRule class

Namespace: Sirenix.OdinValidator.Editor
Assembly: Sirenix.OdinValidator.Editor
public class SerializedRule
Inheritance
  • System.Object
  • SerializedRule

Constructors

SerializedRule(Type, RegisterValidationRuleAttribute)
public SerializedRule(Type validatorType, RegisterValidationRuleAttribute attr)
Parameters
System.Type validatorType

RegisterValidationRuleAttribute attr

Fields

Attr
public RegisterValidationRuleAttribute Attr
DataOverride
public Validator DataOverride
Enabled
public bool Enabled
EnabledOverridden
public bool EnabledOverridden
ValidatorType
public Type ValidatorType

Properties

IsConfigurable
public bool IsConfigurable { get; }

Methods

CreateCopy()
public SerializedRule CreateCopy()
Returns
SerializedRule

Load()
public void Load()
Save()
public void Save()