Answer the question
In order to leave comments, you need to log in
How to handle Drag in Unity?
Hello.
I would like to know how to handle drag(swipe) across the screen. Or rather, not just a drag in some direction (left / right, bottom / top), but, for example, that the player, by swiping his finger across the screen, formed a square or triangle. If there are any text or video lessons on this topic, then I would very much like to see it.
P.s. I'm concerned about handling specific shapes, not necessarily straight lines. Thank you in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question