Skip to content

Commit b878365

Browse files
fixed some issues with speech event data on non windows platforms
1 parent 0d9a785 commit b878365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/MixedRealityToolkit/_Core/EventDatum/Input/SpeechEventData.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System;
77
using UnityEngine.EventSystems;
88

9-
#if UNITY_WSA || UNITY_STANDALONE_WIN
9+
#if UNITY_WSA || UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
1010
using UnityEngine.Windows.Speech;
1111
#endif
1212

@@ -35,7 +35,7 @@ public class SpeechEventData : BaseInputEventData
3535
/// <inheritdoc />
3636
public SpeechEventData(EventSystem eventSystem) : base(eventSystem) { }
3737

38-
#if UNITY_WSA || UNITY_STANDALONE_WIN
38+
#if UNITY_WSA || UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
3939

4040
/// <summary>
4141
/// A measure of correct recognition certainty.

0 commit comments

Comments
 (0)