Editar

Compartilhar via


MixedRealityProfileUtility Class

Definition

This class has utilities and functions for working with profiles in the Unity editor.

public ref class MixedRealityProfileUtility abstract sealed
public static class MixedRealityProfileUtility
type MixedRealityProfileUtility = class
Public Class MixedRealityProfileUtility
Inheritance
MixedRealityProfileUtility

Methods

GetProfilePopupOptionsByType(Type)

Returns an array of GUIContent for use in a dropdown for a type of profile. Includes a (None) option at the start. This means that the array length will always be 1 greater than the available profiles.

GetProfilesOfType(Type)

Returns an array of profiles that match profile type.

GetProfileTypesForService(Type)

Given a service type, finds all sub-classes of BaseMixedRealityProfile that are designed to configure that service.

IsConcreteProfileType(Type)

Returns true if profile is NOT a BaseMixedRealityProfile class type.

IsProfileForService(Type, Type)

Returns true if the given profile type is designed to configure the given service.

Applies to