Ok, so I have a mapping setup that works with Mouse Left Click and Touch. When either hits the screen it then checks to see if it is over a UI and then runs no further.
The mouse side of it works fine, and the issue I am now running into is that the touch ide side of it doesn’t work and I am at a loss to find how to do this.
In the old way you would do something like this.
foreach (Touch touch in Input.touches)
{
int id = touch.fingerId;
if (EventSystem.current.IsPointerOverGameObject(id))
{
return;
}
}
The mapping for both the left and Primary Touch is set to Button for the Action Type.