Language
Edit

MRTKProfile Class

Definition

A build-target-specific profile that determines which subsystems are launched, and which configurations are bound to them.

[UnityEngine.CreateAssetMenu(fileName="MRTKProfile.asset", menuName="MRTK/MRTKProfile")]
[System.Serializable]
public class MRTKProfile : MixedReality.Toolkit.BaseMRTKProfile
[<UnityEngine.CreateAssetMenu(fileName="MRTKProfile.asset", menuName="MRTK/MRTKProfile")>]
[<System.Serializable>]
type MRTKProfile = class
    inherit BaseMRTKProfile
Public Class MRTKProfile
Inherits BaseMRTKProfile
Inheritance
UnityEngine.ScriptableObject
MRTKProfile
Attributes
UnityEngine.CreateAssetMenuAttribute SerializableAttribute

Constructors

Name Description
MRTKProfile()

Properties

Name Description
Instance

Static instance that will hold the runtime asset instance we created in our build process.

LoadedSubsystems

The list of subsystems intended to be started at runtime.

SubsystemConfigs

The collection of BaseSubsystemConfig mapped to the corresponding subsystem.

Methods

Name Description
TryGetConfigForSubsystem(SystemType, BaseSubsystemConfig)

Attempts to retrieve the specified BaseSubsystemConfig for a given subsystem type.

Applies to