Unity, how do I dismiss the Health/Safety Warning?
I've got this in an update function, SDK 4.3:
...but it doesn't work, the warning stays displayed for a few seconds even if the player touches a key. Since the message specifically says to press a key to acknowledge, I need to make it go away when the player presses the key. Am I doing something obviously wrong?
if (OVRManager.isHSWDisplayed)
{
if (Input.anyKeyDown)
{
OVRManager.DismissHSWDisplay();
}
}
...but it doesn't work, the warning stays displayed for a few seconds even if the player touches a key. Since the message specifically says to press a key to acknowledge, I need to make it go away when the player presses the key. Am I doing something obviously wrong?
