K
K
kos_dev2016-01-01 12:34:36
Android
kos_dev, 2016-01-01 12:34:36

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

1 answer(s)
X
xmoonlight, 2016-01-01
@kos_dev

www.theappguruz.com/blog/draw-line-mouse-move-dete...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question