I'm trying to make a game that would work on PC with mouse and on mobile with touch, so I'm using both plugins. Touch plugin has "Use mouse input=YES", because I want it to handle most touch and left click events in the project.
But I still need to be able to distinguish between left mouse click and touch - to update the UI, hints etc. What's the best way to do it?
At the moment I have this:
But I'm worried it may not work on some devices.