Search Unity

Get touchID from PointerEventData

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

  1. Cenda

    Cenda

    Joined:
    Jun 3, 2010
    Posts:
    66
    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
    ajayalfo likes this.