Best practice for touch gestures implementation in Unity?
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
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
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?
It is relatively easy adding events like Swipe, Tap... using that API. Have you read that tutorial?
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest