- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
jellyberg · May 22, 2015 at 02:04 PM ·
inputmobiletouchonmousedown
Is there a built in method that works like OnMouseDown() but for touch input?
Comment
Best Answer
Answer by digzou · May 22, 2015 at 02:36 PM
All mouse functions work for Touch Input. :)
Converted this to answer, as it is correct. On$$anonymous$$ouseDown will be called when you touch stuff.
Oh brilliant that's a lot simpler than I expected! Does this work with mul$$anonymous$$ch input too? Cheers
Havent used mul$$anonymous$$ch yet. Check this video, should be of some help.
https://unity3d.com/learn/tutorials/modules/beginner/platform-specific/mul$$anonymous$$ch-input
This too.
http://answers.unity3d.com/questions/167750/how-does-multi-touch-work.html
:)
Your answer
Follow this Question
Related Questions
How to make responsive Touch inputs? 1 Answer
Changing keyboard input to touch in script 0 Answers
Mobile game touch problem (C#) 2 Answers