Skip to main content
Up and Coming
August 14, 2014

How do you detect that the health and safty screens gone?

Pretty much what the subject says. What way do I test that the health and safety menu that appears has gone? I'm programming in Unity Java so a solution that was it that would be best.

Cheers

Phil
    This topic has been closed for replies.

    3 replies

    Participant
    August 17, 2014
    In a loop check the following:

    if(!OVRDevice.HMD.GetHSWDisplayState().Displayed)
    {
    //do something now that the Health and safety warning is gone
    //then break out of loop
    }
    philedayAuthor
    Up and Coming
    August 19, 2014
    Cheers. I'll give that a go later and post back if I have any problems.
    philedayAuthor
    Up and Coming
    August 19, 2014
    Just to let people know that it worked great, thanks.