Skip to content

Commit 9f3327e

Browse files
updated Application pause logic
1 parent aebeca0 commit 9f3327e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/HoloToolkit-Tests/Input/Scripts/MicStreamDemo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private void Update()
143143

144144
private void OnApplicationPause(bool pause)
145145
{
146-
IsRunning = pause;
146+
IsRunning = !pause;
147147
}
148148

149149
private void OnDisable()
@@ -179,4 +179,4 @@ public void Disable()
179179
IsRunning = false;
180180
}
181181
}
182-
}
182+
}

0 commit comments

Comments
 (0)