05-03-2018 06:01 PM
05-18-2018 02:44 PM
imperativity said:
Hi,
Welcome to the Oculus Developer Forums.
Please read the documentation on incorporating dash support into your unity project here:
https://developer.oculus.com/documentation/unity/latest/concepts/unity-dash/
From the documentation:To check if your app has focus input, query OVRManager.hasInputFocus every frame. If your app has focus hasInputFocus will return true. If the user's focus is elsewhere, like when the user opens the Dash menu or removes their HMD, hasInputFocus will return false.
In
single-player apps or experiences, you can pause the app, mute audio
playback, and stop rendering any tracked controllers/hands present in
the scene (Dash will use a separate set of hands).Multiplayer
experiences may wish to handle the loss of input focus differently.
You're required to hide the hands and ignore any input while the app
does not have focus input, but you may wish to continue audio playback
and the match in the background.For more information on OVRManager.hasInputFocus, see Application Lifecycle Handling.
05-18-2018 02:44 PM
imperativity said:
Hi,
Welcome to the Oculus Developer Forums.
Please read the documentation on incorporating dash support into your unity project here:
https://developer.oculus.com/documentation/unity/latest/concepts/unity-dash/
From the documentation:To check if your app has focus input, query OVRManager.hasInputFocus every frame. If your app has focus hasInputFocus will return true. If the user's focus is elsewhere, like when the user opens the Dash menu or removes their HMD, hasInputFocus will return false.
In
single-player apps or experiences, you can pause the app, mute audio
playback, and stop rendering any tracked controllers/hands present in
the scene (Dash will use a separate set of hands).Multiplayer
experiences may wish to handle the loss of input focus differently.
You're required to hide the hands and ignore any input while the app
does not have focus input, but you may wish to continue audio playback
and the match in the background.For more information on OVRManager.hasInputFocus, see Application Lifecycle Handling.
04-03-2019 05:20 PM
Dear greetings, I am stuck in the same problem, I can not
get the game paused when the user removes the HMD. Could someone solve it, that
code work?
02-06-2020 11:26 PM
05-22-2020 09:28 AM
08-12-2020 12:17 AM