Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Check if hmd available

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

  1. jbeul


    Aug 25, 2017
    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 ?