02-22-2015 03:32 PM
if(_hmd.GetHSWDisplayState().Displayed)
{
Debug.Log("warning is displayed");
}
_hmd = Ovr.Hmd.Create(Ovr.Hmd.Detect());
02-22-2015 05:47 PM
// Detect if health and safety warning is displayed:
if(OVRManager.isHSWDisplayed == false)
{
Debug.Log("Health and safety warning pressed");
}
// Get access to hmd amd re-center:
Ovr.Hmd hmd = OVRManager.capiHmd;
hmd.RecenterPose();