Namespace: | Sirenix.OdinInspector |
Assembly: | Sirenix.OdinInspector.Attributes |
public struct SelfFix
public SelfFix(string name, Action action, bool offerInInspector)
System.String | name | |
System.Action | action | |
System.Boolean | offerInInspector |
public SelfFix(string name, Delegate action, bool offerInInspector)
System.String | name | |
System.Delegate | action | |
System.Boolean | offerInInspector |
public Delegate Action
public bool OfferInInspector
public string Title
public static SelfFix Create(Action action, bool offerInInspector = true)
System.Action | action | |
System.Boolean | offerInInspector |
SelfFix |
public static SelfFix Create(string title, Action action, bool offerInInspector = true)
System.String | title | |
System.Action | action | |
System.Boolean | offerInInspector |
SelfFix |
public static SelfFix Create<T>(Action<T> action, bool offerInInspector = true)
where T : new()
System.Action<T> | action | |
System.Boolean | offerInInspector |
SelfFix |
T |
public static SelfFix Create<T>(string title, Action<T> action, bool offerInInspector = true)
where T : new()
System.String | title | |
System.Action<T> | action | |
System.Boolean | offerInInspector |
SelfFix |
T |