Version 3.3.1.2

SelfFix struct

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
public struct SelfFix

Constructors

SelfFix(String, Action, Boolean)
public SelfFix(string name, Action action, bool offerInInspector)
Parameters
System.String name

System.Action action

System.Boolean offerInInspector

SelfFix(String, Delegate, Boolean)
public SelfFix(string name, Delegate action, bool offerInInspector)
Parameters
System.String name

System.Delegate action

System.Boolean offerInInspector

Fields

Action
public Delegate Action
OfferInInspector
public bool OfferInInspector
Title
public string Title

Methods

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

System.Boolean offerInInspector

Returns
SelfFix

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

System.Action action

System.Boolean offerInInspector

Returns
SelfFix

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

System.Boolean offerInInspector

Returns
SelfFix

Type Parameters
T

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

System.Action<T> action

System.Boolean offerInInspector

Returns
SelfFix

Type Parameters
T