Editar

Share via


BaseMixedRealityProfileInspector.RenderProfile Method

Definition

Overloads

RenderProfile(SerializedProperty, Type, Boolean, Boolean, Type)

Renders a BaseMixedRealityProfile.

RenderProfile(SerializedProperty, Type, Boolean, Boolean, Type, Boolean)

Renders a BaseMixedRealityProfile.

RenderProfile(SerializedProperty, Type, Boolean, Boolean, Type)

protected static bool RenderProfile (UnityEditor.SerializedProperty property, Type profileType, bool showAddButton = true, bool renderProfileInBox = false, Type serviceType = default);
static member RenderProfile : UnityEditor.SerializedProperty * Type * bool * bool * Type -> bool
Protected Shared Function RenderProfile (property As SerializedProperty, profileType As Type, Optional showAddButton As Boolean = true, Optional renderProfileInBox As Boolean = false, Optional serviceType As Type = Nothing) As Boolean

Parameters

property
UnityEditor.SerializedProperty

the BaseMixedRealityProfile property.

profileType
Type

Profile type to filter available values to set on the provided property. If null, defaults to type BaseMixedRealityProfile

showAddButton
Boolean

If true, draw the clone button, if false, don't

renderProfileInBox
Boolean

if true, render box around profile content, if false, don't

serviceType
Type

Optional service type to limit available profile types.

Returns

True, if the profile changed.

Applies to

RenderProfile(SerializedProperty, Type, Boolean, Boolean, Type, Boolean)

protected static bool RenderProfile (UnityEditor.SerializedProperty property, Type profileType, bool showCloneButton = true, bool renderProfileInBox = false, Type serviceType = default, bool profileRequiredOverride = false);
static member RenderProfile : UnityEditor.SerializedProperty * Type * bool * bool * Type * bool -> bool
Protected Shared Function RenderProfile (property As SerializedProperty, profileType As Type, Optional showCloneButton As Boolean = true, Optional renderProfileInBox As Boolean = false, Optional serviceType As Type = Nothing, Optional profileRequiredOverride As Boolean = false) As Boolean

Parameters

property
UnityEditor.SerializedProperty

the BaseMixedRealityProfile property.

profileType
Type

Profile type to filter available values to set on the provided property. If null, defaults to type BaseMixedRealityProfile

showCloneButton
Boolean

If true, draw the clone button, if false, don't

renderProfileInBox
Boolean

if true, render box around profile content, if false, don't

serviceType
Type

Optional service type to limit available profile types.

profileRequiredOverride
Boolean

Optional parameter to used to specify that a profile must be selected

Returns

True, if the profile changed.

Applies to