MixedRealityInspectorUtility.DrawProfileDropDownList Method
Definition
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.
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
- profile
- BaseMixedRealityProfile
- 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
- profile
- BaseMixedRealityProfile
- 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
- profile
- BaseMixedRealityProfile
- oldProfileObject
- UnityEngine.Object
- profileTypes
- Type[]
- requiresProfile
- Boolean
- showAddButton
- Boolean
Returns
True if property was changed.