Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question XRHMD ???

Discussion in 'Input System' started by spatialfree, Jul 30, 2021.

  1. spatialfree

    spatialfree

    Joined:
    Jan 25, 2017
    Posts:
    5
    I can get a controller by doing
    XRController leftController = XRController.leftHand;

    but I can't get the HMD in a similar way... ♨_♨
     
  2. spatialfree

    spatialfree

    Joined:
    Jan 25, 2017
    Posts:
    5
    XRHMD hmd = InputSystem.GetDevice<XRHMD>();