Skip to content

Commit 5a4d23f

Browse files
committed
Move #endif around
1 parent a796e2e commit 5a4d23f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Assets/MixedRealityToolkit.Providers/WindowsVoiceInput/WindowsDictationInputProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,6 @@ private void DictationRecognizer_DictationError(string error, int hresult)
295295
textSoFar = null;
296296
dictationResult = string.Empty;
297297
}
298-
}
299298
#endif // UNITY_STANDALONE_WIN || UNITY_WSA || UNITY_EDITOR_WIN
299+
}
300300
}

Assets/MixedRealityToolkit.Providers/WindowsVoiceInput/WindowsSpeechInputProvider.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
using Microsoft.MixedReality.Toolkit.Input;
55
using Microsoft.MixedReality.Toolkit.Utilities;
6-
using System;
7-
using UnityEngine;
8-
using UInput = UnityEngine.Input;
96

107
#if UNITY_STANDALONE_WIN || UNITY_WSA || UNITY_EDITOR_WIN
8+
using System;
9+
using UnityEngine;
1110
using UnityEngine.Windows.Speech;
11+
using UInput = UnityEngine.Input;
1212
#endif // UNITY_STANDALONE_WIN || UNITY_WSA || UNITY_EDITOR_WIN
1313

1414
namespace Microsoft.MixedReality.Toolkit.Windows.Input
@@ -24,9 +24,9 @@ public class WindowsSpeechInputProvider : BaseDeviceManager, IMixedRealitySpeech
2424
/// <param name="priority">Service priority. Used to determine order of instantiation.</param>
2525
/// <param name="profile">The service's configuration profile.</param>
2626
public WindowsSpeechInputProvider(
27-
IMixedRealityServiceRegistrar registrar,
28-
string name = null,
29-
uint priority = DefaultPriority,
27+
IMixedRealityServiceRegistrar registrar,
28+
string name = null,
29+
uint priority = DefaultPriority,
3030
BaseMixedRealityProfile profile = null) : base(registrar, name, priority, profile) { }
3131

3232
/// <summary>
@@ -137,6 +137,6 @@ private void OnPhraseRecognized(ConfidenceLevel confidence, TimeSpan phraseDurat
137137
}
138138
}
139139
}
140-
}
141140
#endif // UNITY_STANDALONE_WIN || UNITY_WSA || UNITY_EDITOR_WIN
141+
}
142142
}

0 commit comments

Comments
 (0)