Namespace: | Sirenix.OdinInspector |
Assembly: | Sirenix.OdinInspector.Attributes |
public static class SelfValidationResultItemExtensions
public static SelfValidationResult.ResultItem EnableRichText(this ref SelfValidationResult.ResultItem item)
SelfValidationResult.ResultItem | item |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem SetSelectionObject(this ref SelfValidationResult.ResultItem item, Object uObj)
SelfValidationResult.ResultItem | item | |
UnityEngine.Object | uObj |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithButton(this ref SelfValidationResult.ResultItem resultItem, string name, Action onClick)
SelfValidationResult.ResultItem | resultItem | |
System.String | name | |
System.Action | onClick |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithContextClick(this ref SelfValidationResult.ResultItem item, SelfValidationResult.ContextMenuItem onContextClick)
SelfValidationResult.ResultItem | item | |
SelfValidationResult.ContextMenuItem | onContextClick |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithContextClick(this ref SelfValidationResult.ResultItem item, Func<IEnumerable<SelfValidationResult.ContextMenuItem>> onContextClick)
SelfValidationResult.ResultItem | item | |
System.Func<System.Collections.Generic.IEnumerable<SelfValidationResult.ContextMenuItem>> | onContextClick |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithContextClick(this ref SelfValidationResult.ResultItem item, string path, Action onClick)
SelfValidationResult.ResultItem | item | |
System.String | path | |
System.Action | onClick |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithContextClick(this ref SelfValidationResult.ResultItem item, string path, bool on, Action onClick)
SelfValidationResult.ResultItem | item | |
System.String | path | |
System.Boolean | on | |
System.Action | onClick |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithFix(this ref SelfValidationResult.ResultItem item, SelfFix fix)
SelfValidationResult.ResultItem | item | |
SelfFix | fix |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithFix(this ref SelfValidationResult.ResultItem item, Action fix, bool offerInInspector = true)
SelfValidationResult.ResultItem | item | |
System.Action | fix | |
System.Boolean | offerInInspector |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithFix(this ref SelfValidationResult.ResultItem item, string title, Action fix, bool offerInInspector = true)
SelfValidationResult.ResultItem | item | |
System.String | title | |
System.Action | fix | |
System.Boolean | offerInInspector |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithFix<T>(this ref SelfValidationResult.ResultItem item, Action<T> fix, bool offerInInspector = true)
where T : new()
SelfValidationResult.ResultItem | item | |
System.Action<T> | fix | |
System.Boolean | offerInInspector |
SelfValidationResult.ResultItem |
T |
public static SelfValidationResult.ResultItem WithFix<T>(this ref SelfValidationResult.ResultItem item, string title, Action<T> fix, bool offerInInspector = true)
where T : new()
SelfValidationResult.ResultItem | item | |
System.String | title | |
System.Action<T> | fix | |
System.Boolean | offerInInspector |
SelfValidationResult.ResultItem |
T |
public static SelfValidationResult.ResultItem WithMetaData(this ref SelfValidationResult.ResultItem resultItem, object value, params Attribute[] attributes)
SelfValidationResult.ResultItem | resultItem | |
System.Object | value | |
System.Attribute[] | attributes |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithMetaData(this ref SelfValidationResult.ResultItem resultItem, string name, object value, params Attribute[] attributes)
SelfValidationResult.ResultItem | resultItem | |
System.String | name | |
System.Object | value | |
System.Attribute[] | attributes |
SelfValidationResult.ResultItem |
public static SelfValidationResult.ResultItem WithSceneGUI(this ref SelfValidationResult.ResultItem item, Action onSceneGUI)
SelfValidationResult.ResultItem | item | |
System.Action | onSceneGUI |
SelfValidationResult.ResultItem |