Editar

Compartilhar via


MixedRealityInspectorUtility.DrawProfileDropDownList Method

Definition

Overloads

DrawProfileDropDownList(SerializedProperty, BaseMixedRealityProfile, Object, Type, Boolean)

Draws a dropdown with all available profiles of profilyType.

DrawProfileDropDownList(SerializedProperty, BaseMixedRealityProfile, Object, Type, Boolean, Boolean)

Draws a dropdown with all available profiles of profilyType.

DrawProfileDropDownList(SerializedProperty, BaseMixedRealityProfile, Object, Type[], Boolean, Boolean)

Draws a dropdown with all available profiles of types contained in the array profilyTypes.

DrawProfileDropDownList(SerializedProperty, BaseMixedRealityProfile, Object, Type, Boolean)

Draws a dropdown with all available profiles of profilyType.

public:
 static bool DrawProfileDropDownList(UnityEditor::SerializedProperty ^ property, Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile ^ profile, UnityEngine::Object ^ oldProfileObject, Type ^ profileType, bool showAddButton);
public static bool DrawProfileDropDownList (UnityEditor.SerializedProperty property, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile, UnityEngine.Object oldProfileObject, Type profileType, bool showAddButton);
static member DrawProfileDropDownList : UnityEditor.SerializedProperty * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile * UnityEngine.Object * Type * bool -> bool
Public Function DrawProfileDropDownList (property As SerializedProperty, profile As BaseMixedRealityProfile, oldProfileObject As Object, profileType As Type, showAddButton As Boolean) As Boolean

Parameters

property
UnityEditor.SerializedProperty
oldProfileObject
UnityEngine.Object
profileType
Type
showAddButton
Boolean

Returns

True if property was changed.

Applies to

DrawProfileDropDownList(SerializedProperty, BaseMixedRealityProfile, Object, Type, Boolean, Boolean)

Draws a dropdown with all available profiles of profilyType.

public:
 static bool DrawProfileDropDownList(UnityEditor::SerializedProperty ^ property, Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile ^ profile, UnityEngine::Object ^ oldProfileObject, Type ^ profileType, bool requiresProfile, bool showAddButton);
public static bool DrawProfileDropDownList (UnityEditor.SerializedProperty property, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile, UnityEngine.Object oldProfileObject, Type profileType, bool requiresProfile, bool showAddButton);
static member DrawProfileDropDownList : UnityEditor.SerializedProperty * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile * UnityEngine.Object * Type * bool * bool -> bool
Public Function DrawProfileDropDownList (property As SerializedProperty, profile As BaseMixedRealityProfile, oldProfileObject As Object, profileType As Type, requiresProfile As Boolean, showAddButton As Boolean) As Boolean

Parameters

property
UnityEditor.SerializedProperty
oldProfileObject
UnityEngine.Object
profileType
Type
requiresProfile
Boolean
showAddButton
Boolean

Returns

True if property was changed.

Applies to

DrawProfileDropDownList(SerializedProperty, BaseMixedRealityProfile, Object, Type[], Boolean, Boolean)

Draws a dropdown with all available profiles of types contained in the array profilyTypes.

public:
 static bool DrawProfileDropDownList(UnityEditor::SerializedProperty ^ property, Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile ^ profile, UnityEngine::Object ^ oldProfileObject, cli::array <Type ^> ^ profileTypes, bool requiresProfile, bool showAddButton);
public static bool DrawProfileDropDownList (UnityEditor.SerializedProperty property, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile, UnityEngine.Object oldProfileObject, Type[] profileTypes, bool requiresProfile, bool showAddButton);
static member DrawProfileDropDownList : UnityEditor.SerializedProperty * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile * UnityEngine.Object * Type[] * bool * bool -> bool
Public Function DrawProfileDropDownList (property As SerializedProperty, profile As BaseMixedRealityProfile, oldProfileObject As Object, profileTypes As Type(), requiresProfile As Boolean, showAddButton As Boolean) As Boolean

Parameters

property
UnityEditor.SerializedProperty
oldProfileObject
UnityEngine.Object
profileTypes
Type[]
requiresProfile
Boolean
showAddButton
Boolean

Returns

True if property was changed.

Applies to