Search Unity

  1. Want to see 2020.1b in action? Sign up for our Beta 2020.1 Overview Webinar on April 20th for a live presentation from our evangelists and a Q&A session with guests from R&D.
    Dismiss Notice
  2. Interested in giving us feedback? Join our online research interviews on a broad range of topics and share your insights with us.
    Dismiss Notice
  3. We're hosting a webinar for the new Input System where you'll be able to get in touch with the devs. Sign up now and share your questions with us in preparation for the session on April 15.
    Dismiss Notice
  4. Dismiss Notice

VR Controller + UGUI

Discussion in 'New Input System' started by col000r, Sep 10, 2019.

  1. col000r

    col000r

    Joined:
    Mar 27, 2008
    Posts:
    662
    The old input system never provided a good way to use XR controllers to interact with UGUI. (I had to write my own InputModule and EventData object to make this work and it was not a good time.)

    Is that something that will be made easier with the new system?
     
  2. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,633
    Yes. The InputSystemUIInputModule is designed to handle input from XR controllers to allow pointing at and interacting with UI elements.

    However, XR controller device support is currently being moved out of the input system package (to come back in separate packages, so the XR team can release updates on their own schedule), so you may have to wait a bit longer for a workable setup.
     
  3. col000r

    col000r

    Joined:
    Mar 27, 2008
    Posts:
    662
    Thanks for the info - glad to hear it's on the way!
     
  4. mikewarren

    mikewarren

    Joined:
    Apr 21, 2014
    Posts:
    100
    The InputSystemUIInputModule handle XR-UI (pointing) input as well as traditional modes (mouse, keyboard, touchscreen)? Is there an example somewhere on setting it up?
     
unityunity