Skip to content

Commit 2f56967

Browse files
committed
Merge cleanup
1 parent 0858485 commit 2f56967

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

Assets/MRTK/Core/Attributes/MixedRealityControllerAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class MixedRealityControllerAttribute : Attribute
4444
public SupportedUnityXRPipelines SupportedUnityXRPipelines { get; }
4545

4646
/// <summary>
47-
///
47+
/// Constructor.
4848
/// </summary>
4949
public MixedRealityControllerAttribute(
5050
SupportedControllerType supportedControllerType,

Assets/MRTK/Core/Definitions/InputSystem/MixedRealityInputSystemProfile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public MixedRealityGesturesProfile GesturesProfile
137137
/// <summary>
138138
/// The list of cultures where speech recognition is supported
139139
/// </summary>
140-
private static readonly List<CultureInfo> SupportedVoiceCultures = new List<CultureInfo>
140+
private List<CultureInfo> supportedVoiceCultures = new List<CultureInfo>
141141
{
142142
new CultureInfo("en-US"),
143143
new CultureInfo("en-CA"),
@@ -155,7 +155,7 @@ public MixedRealityGesturesProfile GesturesProfile
155155
/// <summary>
156156
/// Returns whether speech is supported for the current language or not
157157
/// </summary>
158-
public bool IsSpeechSupported => SupportedVoiceCultures.Contains(CultureInfo.CurrentUICulture);
158+
public bool IsSpeechSupported => supportedVoiceCultures.Contains(CultureInfo.CurrentUICulture);
159159

160160
[SerializeField]
161161
[Tooltip("Speech Command profile for wiring up Voice Input to Actions.")]

Assets/MRTK/Core/Definitions/MixedRealityToolkitConfigurationProfile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ public bool IsBoundarySystemEnabled
138138
[SerializeField]
139139
[Tooltip("Boundary system class to instantiate at runtime for legacy XR.")]
140140
[Implements(typeof(IMixedRealityBoundarySystem), TypeGrouping.ByNamespaceFlat)]
141-
private SystemType boundarySystemType;
141+
private SystemType boundarySystemType = null;
142142

143143
[SerializeField]
144144
[Tooltip("Boundary system class to instantiate at runtime for XR SDK.")]
145145
[Implements(typeof(IMixedRealityBoundarySystem), TypeGrouping.ByNamespaceFlat)]
146-
private SystemType xrsdkBoundarySystemType;
146+
private SystemType xrsdkBoundarySystemType = null;
147147

148148
/// <summary>
149149
/// Boundary system class to instantiate at runtime.

Assets/MRTK/Core/Services/BaseDataProviderAccessCoreSystem.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT License.
33

44
using Microsoft.MixedReality.Toolkit.Utilities;
5-
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
65
using System;
76
using System.Collections.Generic;
87
using Unity.Profiling;

0 commit comments

Comments
 (0)