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 678749e commit 07f8af2Copy full SHA for 07f8af2
1 file changed
org.mixedrealitytoolkit.core/Subsystems/MRTKLifecycleManager.cs
@@ -191,16 +191,13 @@ protected void OnApplicationFocus(bool focus)
191
// and applications should react to an inactive input action by skipping rendering of that action's input avatar
192
// (depictions of hands or other tracked objects controlled by the user)."
193
194
- if (focus)
+ foreach (InputActionReference reference in inputActionReferences)
195
{
196
- foreach (InputActionReference reference in inputActionReferences)
+ if (focus)
197
198
reference.action.Enable();
199
}
200
- }
201
- else
202
- {
203
+ else
204
205
reference.action.Disable();
206
0 commit comments