Modifier

Partager via


InspectorUIUtility.FlexButton Method

Definition

Overloads

FlexButton(GUIContent, Int32[], InspectorUIUtility+MultiListButtonEvent, SerializedProperty)

A button that is as wide as the label

FlexButton(GUIContent, Int32, InspectorUIUtility+ListButtonEvent, SerializedProperty)

A button that is as wide as the label

FlexButton(GUIContent)

A button that is as wide as the label

FlexButton(GUIContent, Int32[], InspectorUIUtility+MultiListButtonEvent, SerializedProperty)

A button that is as wide as the label

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

Parameters

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

Returns

true if button clicked, false otherwise

Applies to

FlexButton(GUIContent, Int32, InspectorUIUtility+ListButtonEvent, SerializedProperty)

A button that is as wide as the label

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

Parameters

label
UnityEngine.GUIContent
index
Int32
prop
UnityEditor.SerializedProperty

Returns

Applies to

FlexButton(GUIContent)

A button that is as wide as the label

public:
 static bool FlexButton(UnityEngine::GUIContent ^ label);
public static bool FlexButton (UnityEngine.GUIContent label);
static member FlexButton : UnityEngine.GUIContent -> bool
Public Shared Function FlexButton (label As GUIContent) As Boolean

Parameters

label
UnityEngine.GUIContent

content for button

Returns

true if button clicked, false otherwise

Applies to