cancel
Showing results for 
Search instead for 
Did you mean: 

OnHead Detection Sensor

fredvicentin
Honored Guest
Hello Guys, I'm developping for Gear VR on Unity3D

The Gear VR detect when you but the Oculus on the Head, using the distance detection sensor.

I want to put some functions when the user put on or take of the head of the display.
Where can I find the functions that control this features ?

I'm searching on OVRScripts on C# but I dont found the class that turn off or turn on the display.
11 REPLIES 11

Anonymous
Not applicable
Bump - would also appreciate any update on Unity support!

r0b0saru
Expert Protege
I am also in need of a Unity solution for this. I tried OnApplicationHasFocus and OVRManager.hasVrFocus and neither seem to work with GearVR.