This question was
closed Sep 17, 2018 at 08:10 PM by
Aappo for the following reason:
I found a way to do it my self.
Question by
Aappo · Sep 12, 2018 at 04:06 PM ·
c#mobiletouchtouch controlstouchphase
How to separate a Tap from a Swipe?
I have watched an N3K tutorial about TouchControls (Swipe, tap etc.) his game didn't need to use tap and swipe at the same time, but mine needs. I have a shop that works with swipe and I also have "Tap to play / Tap to start the game" mechanic. When I press my phone screen to swipe, it registers a tap and starts the game, so I cant see the shop. Huge thanks to everyone trying to help me! this is an Android game. Script is in C#.
Comment
@Aappo - Hi, did you check this page?
https://docs.unity3d.com/ScriptReference/TouchPhase.html
Hi @Aappo i am facing the same issue could you please share how you managed it ? Thank you