InspectorUIUtility.FullWidthButton Method

Definition

Overloads

FullWidthButton(GUIContent, Single, Int32, InspectorUIUtility+ListButtonEvent, SerializedProperty)

A button that is as wide as the available space

FullWidthButton(GUIContent, Single, Int32[], InspectorUIUtility+MultiListButtonEvent, SerializedProperty)

A button that is as wide as the available space

FullWidthButton(GUIContent, Single, Int32, InspectorUIUtility+ListButtonEvent, SerializedProperty)

A button that is as wide as the available space

public static bool FullWidthButton (UnityEngine.GUIContent label, float padding, int index, Microsoft.MixedReality.Toolkit.Utilities.Editor.InspectorUIUtility.ListButtonEvent callback, UnityEditor.SerializedProperty prop = default);
static member FullWidthButton : UnityEngine.GUIContent * single * int * Microsoft.MixedReality.Toolkit.Utilities.Editor.InspectorUIUtility.ListButtonEvent * UnityEditor.SerializedProperty -> bool
Public Shared Function FullWidthButton (label As GUIContent, padding As Single, index As Integer, callback As InspectorUIUtility.ListButtonEvent, Optional prop As SerializedProperty = Nothing) As Boolean

Parameters

label
UnityEngine.GUIContent
padding
Single
index
Int32
prop
UnityEditor.SerializedProperty

Returns

Applies to

FullWidthButton(GUIContent, Single, Int32[], InspectorUIUtility+MultiListButtonEvent, SerializedProperty)

A button that is as wide as the available space

public static bool FullWidthButton (UnityEngine.GUIContent label, float padding, int[] indexArr, Microsoft.MixedReality.Toolkit.Utilities.Editor.InspectorUIUtility.MultiListButtonEvent callback, UnityEditor.SerializedProperty prop = default);
static member FullWidthButton : UnityEngine.GUIContent * single * int[] * Microsoft.MixedReality.Toolkit.Utilities.Editor.InspectorUIUtility.MultiListButtonEvent * UnityEditor.SerializedProperty -> bool
Public Shared Function FullWidthButton (label As GUIContent, padding As Single, indexArr As Integer(), callback As InspectorUIUtility.MultiListButtonEvent, Optional prop As SerializedProperty = Nothing) As Boolean

Parameters

label
UnityEngine.GUIContent
padding
Single
indexArr
Int32[]
prop
UnityEditor.SerializedProperty

Returns

Applies to