Skip to content

Commit fce8168

Browse files
committed
Moving window speech dependent field in directive
The serialized data of this field will be lost when switching between platforms and re-serializing this class.
1 parent 9b7f9e6 commit fce8168

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Assets/HoloToolkit/Input/Scripts/Voice/SpeechInputSource.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ public enum RecognizerStartBehavior { AutoStart, ManualStart };
3939
[Tooltip("Whether the recognizer should be activated on start.")]
4040
public RecognizerStartBehavior RecognizerStart;
4141

42-
[Tooltip("The confidence level for the keyword recognizer.")]
43-
public ConfidenceLevel RecognitionConfidenceLevel;
44-
4542
[Tooltip("The keywords to be recognized and optional keyboard shortcuts.")]
4643
public KeywordAndKeyCode[] Keywords;
4744

4845
#if UNITY_WSA || UNITY_STANDALONE_WIN
46+
[Tooltip("The confidence level for the keyword recognizer.")]
47+
//The serialized data of this field will be lost when switching between platforms and re-serializing this class.
48+
public ConfidenceLevel RecognitionConfidenceLevel;
49+
4950
private KeywordRecognizer keywordRecognizer;
5051

5152

0 commit comments

Comments
 (0)