Search Unity

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

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    Dismiss Notice

Get touchID from PointerEventData

Discussion in 'UGUI & TextMesh Pro' started by Cenda, Apr 17, 2021.

  1. Cenda

    Cenda

    Joined:
    Jun 3, 2010
    Posts:
    65
    In my script I use PointerEventData. It contains pointerId which works fine with old input system. But with new input system, it has different values. From debug.log I see that there is another touchID (from ExtendedPointerEventData), which I need. How can I get this?
     
    Last edited: Apr 17, 2021
unityunity