Touch Handling?

Hi there

I’ve heard touch(and MultiTouch) is handled in windows store apps(compared to it not being handled in normal desktop version) with unity however I can’t find anything showing how it is handled. I’m developing a touch table app for a university project and would really like some help finding out how to handle touch events in windows store apps with unity.

I’m new to unity but not new to programming so I’m not looking for someone to tell me exactly how to do it, something along the lines of pointing me in the right direction or a link to docs that explains how unity handles touch would be excellent.

Side note - I have to use unity3d free - just in case that limits anything

Thanks in advance

Hi welcome,

this should help you - Unity - Scripting API: Input.GetTouch, Unity - Scripting API: Input.touches

Thanks I’ll try using that then , I had looked at them before but everything I seen about it was involving android and IOS which lead me to search everywhere for a specific windows 8 version.

Out of curiosity if the only difference between the windows store app and a normal desktop app seems to be when you build it then does input.touches only work when you build it ? Sorry if this is a daft question but it seems to me that if it only works on windows store apps then it might not work in the unity editor ?Cheers