Hi! I am going to create little application on Windows 8.1 and 10 standalone touch screen devices. I know that Unity support touch inputs for mobile devices but i would like to know
Does Unity 5.5 support touch and multi touch gestures on Windows 8.1 and 10 standalone touch screen device?
I know that they've been promised that it will be added to the unity also. Is it possible now ?
Answer by NKlawitter
Mar 17 at 04:16 PM
You can for certain use touch script for windows standalone apps. I use the asset all the time, and the author, who now works for Unity I think, is very responsive on his message board.
That said, I found your post because I was looking to see if the Unity Touch class had been updated to support standalone builds yet or not.
Me again. After a quick test, yes, the Input.Touch class is working with Unity 5.5.
Touch Script will still work as well, but it does have some issues handling certain UI elements such as scroll view, so I might lean away from it in favor of Input.Touch.
Hey thanks for Your answer. Sorry that i am writing so late, i am already uing TouchScript library and it's work great for me. About issues there still is som you say but it is to handle it.
I was wondering before i've used TouchScript does Unitys native Input Library handle it on standalone but it seems that its working only on mobile devices.
Input.Touch will work for a Windows Standalone build yes. I think the caveat is that you must have an EventSystem with a StandaloneInputModule attached. Also note that you might have to check off the 'Force Module Active' box.
This method allowed me to use all standard UI functionality as well as create a multi touch raycast messenger for interacting with non UI elements.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
5 People are following this question.
How change speed of scrollbar (ui) with mousewheel
Touch delta distance to be uniform, independent of the pixel density
[C#] Unity asks for a } for a reason I don't know ( '}' expected )
How to play the animation completely on mouse click
ArgumentException: Input Axis MousePan is not setup.