Page 1 of 1

Best practice for touch gestures implementation in Unity?

Posted: 23 May 2014, 15:12
by timashev
Hi,

In my Unity app I want to implement iOS-style list of items where user may use 'swipe left' gesture to delete an item. Also I want to implement swipe gestures on other screens to switch/navigate between them (e.g. 'swipe right' to go back to the previous screen); tap and hold to display a context menu (like on Android and Windows Phone), etc.

What is the best practice to do that? Can you provide any examples to give me an idea?

Regards,
Albert

Re: Best practice for touch gestures implementation in Unity

Posted: 25 May 2014, 18:49
by jsantos
For now, the only high level API we have for touching event are the manipulations as described in the Touch Tutorial.

It is relatively easy adding events like Swipe, Tap... using that API. Have you read that tutorial?