Search Unity

Check if hmd available

Discussion in 'VR' started by jbeul, Jul 28, 2020.

  1. jbeul

    jbeul

    Joined:
    Aug 25, 2017
    Posts:
    2
    My app should run with WMR, Oculus and also without an hmd.
    I use a toggle to switch between 2D <- > 3D. If there is no hmd available, the toggle opens the Mixed Reality Portal and demands to connect a hmd.
    I need to know if my hmd is available before running the xr-system, so that i can disable the toggle in this case.
    Any ideas on this ?