cancel
Showing results for 
Search instead for 
Did you mean: 

Samsung Gear VR sdk questions (Unity3d 5.0)

Hitjones
Level 2

Hi everyone ! :)

When i wear Samsung Gear Vr -> take it off it and wait about 5-10 seconds, the screen is fade to black. When i wear samsung gear vr again, screen will be white again.

I use unity3d 5.0 sdk.
So, how i can:
1. Reduce time for screen fading after removing the Gear Vr from head (Now is about 5-10 seconds, i want 1-2)
2. Catch event of wear/take off samsung gear vr in Unity3d 5.0?

I would be very grateful for the help :)

1 ACCEPTED SOLUTION

Accepted Solutions

cybereality-ahu
Level 9

So, it's not possible to change the time it takes for the screen to fade. However, you can check if the device is on or off the player's face by checking "OVRPlugin.userPresent". Hope that helps.

View solution in original post

2 REPLIES 2

cybereality-ahu
Level 9

So, it's not possible to change the time it takes for the screen to fade. However, you can check if the device is on or off the player's face by checking "OVRPlugin.userPresent". Hope that helps.

michaelvoigt
Level 2
Does 'OnApplicationFocus' take over for 'OVRPlugin.userPresent' -- with the new built in VR support, not using OVR anymore...