We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24a1fb commit 08e190cCopy full SHA for 08e190c
Assets/HoloToolkit/Input/Tests/Scripts/MicStreamDemo.cs
@@ -122,7 +122,8 @@ private static void CheckForErrorOnCall(int returnCode)
122
MicStream.CheckForErrorOnCall(returnCode);
123
}
124
125
- // Deal with all the ways that we could suspend our program in as few lines as possible
+#if DOTNET_FX
126
+ // On device, deal with all the ways that we could suspend our program in as few lines as possible.
127
private void OnApplicationPause(bool pause)
128
{
129
CheckForErrorOnCall(pause ? MicStream.MicPause() : MicStream.MicResume());
@@ -142,5 +143,6 @@ private void OnEnable()
142
143
144
OnApplicationPause(false);
145
146
+#endif
147
148
0 commit comments