Namespace: | Sirenix.OdinInspector.Editor.Validation |
Assembly: | Sirenix.OdinInspector.Editor |
public static class ResultItemExtensions
public static ResultItem EnableRichText(this ref ResultItem resultItem)
ResultItem | resultItem |
ResultItem |
public static ResultItem SetSelectionObject(this ref ResultItem resultItem, Object obj)
ResultItem | resultItem | |
UnityEngine.Object | obj |
ResultItem |
public static ResultItem WithButton(this ref ResultItem resultItem, string name, Action onClick)
ResultItem | resultItem | |
System.String | name | |
System.Action | onClick |
ResultItem |
public static ResultItem WithContextClick(this ref ResultItem item, Action<GenericMenu> onContextClick)
ResultItem | item | |
System.Action<UnityEditor.GenericMenu> | onContextClick |
ResultItem |
public static ResultItem WithContextClick(this ref ResultItem item, string path, Action onClick)
ResultItem | item | |
System.String | path | |
System.Action | onClick |
ResultItem |
public static ResultItem WithContextClick(this ref ResultItem item, string path, bool on, Action onClick)
ResultItem | item | |
System.String | path | |
System.Boolean | on | |
System.Action | onClick |
ResultItem |
public static ResultItem WithFix(this ref ResultItem item, Fix fix)
ResultItem | item | |
Fix | fix |
ResultItem |
public static ResultItem WithFix(this ref ResultItem item, Action fix, bool offerInInspector = true)
ResultItem | item | |
System.Action | fix | |
System.Boolean | offerInInspector |
ResultItem |
public static ResultItem WithFix(this ref ResultItem item, string title, Action fix, bool offerInInspector = true)
ResultItem | item | |
System.String | title | |
System.Action | fix | |
System.Boolean | offerInInspector |
ResultItem |
public static ResultItem WithFix<T>(this ref ResultItem item, Action<T> fix, bool offerInInspector = true)
where T : new()
ResultItem | item | |
System.Action<T> | fix | |
System.Boolean | offerInInspector |
ResultItem |
T |
public static ResultItem WithFix<T>(this ref ResultItem item, string title, Action<T> fix, bool offerInInspector = true)
where T : new()
ResultItem | item | |
System.String | title | |
System.Action<T> | fix | |
System.Boolean | offerInInspector |
ResultItem |
T |
public static ResultItem WithMetaData(this ref ResultItem resultItem, object value, params Attribute[] attributes)
ResultItem | resultItem | |
System.Object | value | |
System.Attribute[] | attributes |
ResultItem |
public static ResultItem WithMetaData(this ref ResultItem resultItem, string name, object value, params Attribute[] attributes)
ResultItem | resultItem | |
System.String | name | |
System.Object | value | |
System.Attribute[] | attributes |
ResultItem |
public static ResultItem WithSceneGUI(this ref ResultItem item, Action onSceneGUI)
ResultItem | item | |
System.Action | onSceneGUI |
ResultItem |