Hi Friends,
How do we program touch screen for controls?
Regards,
vanhouten777.
Hi Friends,
How do we program touch screen for controls?
Regards,
vanhouten777.
I think, computer/hardware itself will take care of that option. just write the program and run it in a touch screen computer and it will work the same without need for extra tool/api’s.
I have worked in tons of touch controls for pc, not using unity, but other software.
there is one cheap frame that add touch controls to a monitor, LCD, etc that use only mouse events, then there it’s a full touch screen with multi touch options, for only one touch u just use mouse input events. But when using pan, zoom, multi touch u would need to program with touch.events.
I’m new to unity and you don’t have any touch.events, so u have to program zoom, rotate, pan, left swipe, right swipe. Everything, hope I’m wrong.
Unity do have touch.began, touch.end, touch.move, touch.fingerid, touch.count , touch.position. So if u want to swipe, would be, touch.began->touch.move> touch.position.x bigger or less . Touch.end. Etc