Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

XR Interation toolkit: Get which hand clicked UI

Discussion in 'VR' started by CharlieBudd, Mar 24, 2020.

  1. CharlieBudd

    CharlieBudd

    Joined:
    Jul 24, 2017
    Posts:
    17
    I love the ability to use the same Interaction system to interact with the Unity UI event system.

    However I really need to get which hand selected the UI element. I could do this with a non-UI XR interactable but would be nice to use the normal UI. Any options open to me here?

    Thanks
     
  2. eitanbariboa

    eitanbariboa

    Joined:
    Mar 19, 2020
    Posts:
    26
    Did you find solution for that?
     
  3. nilagard

    nilagard

    Joined:
    Jan 13, 2017
    Posts:
    72
    An extremely easy solution to this is to give each hand a separate tag and use comparetag when the ui detects input