BaseExtensionService Constructors

Definition

Overloads

BaseExtensionService(String, UInt32, BaseMixedRealityProfile)

Constructor.

C#
protected BaseExtensionService (string name = default, uint priority = 10, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile = default);

Parameters

name
String

The friendly name of the service.

priority
UInt32

The registration priority of the service.

profile
BaseMixedRealityProfile

The configuration profile for the service.

Applies to

MRTK2 Unity 2018 2.7.0 та інші версії
Продукт Версії
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

BaseExtensionService(IMixedRealityServiceRegistrar, String, UInt32, BaseMixedRealityProfile)

Caution

This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.

Constructor.

C#
[System.Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
protected BaseExtensionService (Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar registrar, string name = default, uint priority = 10, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile = default);

Parameters

registrar
IMixedRealityServiceRegistrar

The IMixedRealityServiceRegistrar instance that loaded the service.

name
String

The friendly name of the service.

priority
UInt32

The registration priority of the service.

profile
BaseMixedRealityProfile

The configuration profile for the service.

Attributes

Applies to

MRTK2 Unity 2018 2.7.0 та інші версії
Продукт Версії (Застаріло.)
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)