Version 3.3.0.1

Fix class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class Fix
Inheritance
  • System.Object
  • Fix

Constructors

Fix()
public Fix()
Fix(Action, Boolean)
public Fix(Action action, bool offerInInspector)
Parameters
System.Action action

System.Boolean offerInInspector

Fix(String, Action, Boolean)
public Fix(string title, Action action, bool offerInInspector)
Parameters
System.String title

System.Action action

System.Boolean offerInInspector

Fields

Action
public Delegate Action
ArgType
public Type ArgType
OfferInInspector
public bool OfferInInspector
Title
public string Title

Methods

Create(Action, Boolean)
public static Fix Create(Action action, bool offerInInspector = true)
Parameters
System.Action action

System.Boolean offerInInspector

Returns
Fix

Create(String, Action, Boolean)
public static Fix Create(string title, Action action, bool offerInInspector = true)
Parameters
System.String title

System.Action action

System.Boolean offerInInspector

Returns
Fix

Create<T>(Action<T>, Boolean)
public static Fix Create<T>(Action<T> fix, bool offerInInspector = true)
    where T : new()
Parameters
System.Action<T> fix

System.Boolean offerInInspector

Returns
Fix

Type Parameters
T

Create<T>(String, Action<T>, Boolean)
public static Fix Create<T>(string title, Action<T> fix, bool offerInInspector = true)
    where T : new()
Parameters
System.String title

System.Action<T> fix

System.Boolean offerInInspector

Returns
Fix

Type Parameters
T

CreateEditorObject()
public object CreateEditorObject()
Returns
System.Object