- Home /
Question by
prathvipatil · Feb 28 at 10:29 AM ·
mobiletouch controlsswipeonmousedown
Touch and Swipe at the same time mobile
I used OnMouseDown() function everywhere in the script of the mobile app and it is working perfectly for single touch. Also, I have another script for swipe detection and it is also working fine. But the problem comes when I swipe over object which has OnMouseDown() function. Both functions get called. I don't want OnMouseDown() function to be called while swiping.
Comment
Your answer
Follow this Question
Related Questions
GUITexture in Unity 5 0 Answers
How to implement touch to drag for multiple game objects? 0 Answers
Detect if finger lifted off screen 1 Answer
The problem with the touch-control orbit view in the scene 0 Answers
Deactivate Swipe Controls on Pause? 0 Answers