InspectorUIUtility.FullWidthButton Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
A button that is as wide as the available space
C#
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
- callback
- InspectorUIUtility.ListButtonEvent
- prop
- UnityEditor.SerializedProperty
Returns
Applies to
MRTK2 Unity 2018 2.7.0 a ďalšie verzie
Produkt | Verzie |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
FullWidthButton(GUIContent, Single, Int32[], InspectorUIUtility+MultiListButtonEvent, SerializedProperty)
A button that is as wide as the available space
C#
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
MRTK2 Unity 2018 2.7.0 a ďalšie verzie
Produkt | Verzie |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |