BaseServiceManager Class
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.
Base class providing service registration and management functionality. This class can be used to implement a custom service management component for one or more services, similar to the MixedRealityToolkit object.
public ref class BaseServiceManager : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::IMixedRealityServiceRegistrar
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/BaseServiceManager")]
public class BaseServiceManager : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/BaseServiceManager")>]
type BaseServiceManager = class
inherit MonoBehaviour
interface IMixedRealityServiceRegistrar
Public Class BaseServiceManager
Inherits MonoBehaviour
Implements IMixedRealityServiceRegistrar
- Inheritance
-
UnityEngine.MonoBehaviourBaseServiceManager
- Derived
- Attributes
-
UnityEngine.AddComponentMenuAttribute
- Implements
registered |
The collection of registered services. |
Get |
Gets the instance of the registered service. |
Get |
Gets the collection of the registered service instances matching the requested type. |
Initialize<T>(Type, Supported |
Initialize a service. |
Is |
Checks to see if a service of the specified type has been registered. |
On |
|
On |
|
On |
|
Register |
Registers a service of the specified type. |
Register |
Registers a service of the specified type. |
Uninitialize<T>() |
Uninitialize a service. |
Unregister |
Unregisters a service of the specified type. |
Unregister |
Unregisters a service. |
Update() |
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |