Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
sh0v0r's avatar
sh0v0r
Protege
13 years ago

Correct Way To Detect The Hardware

I'm trying to make my game automatically switch to OVR mode when the Hardware is detected but I'm unsure as to how to do that correctly?

I have tried doing this:

if (OVRDevice.IsHMDPresent())


But it seems to be true even when the headset is unplugged, I can only assume that it's because there is an OVRCameraController in the scene, what is the correct way to do this?

21 Replies

Replies have been turned off for this discussion