Gesture Recognizers
Gesture Recognizer scripts based on Input and EventSystem handlers
com.gilzoide.gesture-recognizers Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/track/gesture-recognizers.git README
Gesture Recognizers
Touch/pointer gesture recognizer scripts based on EventSystem handlers or Input.
Implemented gestures:
- Tap (configurable number of touches and taps)
- Long press (configurable number of touches, press duration)
- Pan (configurable number of touches)
- Pinch (configurable number of touches, at least 2)
- Twist (configurable number of touches, at least 2)
- Swipe (configurable number of touches, supported directions, minimum distance, minimum velocity)
- Edge pan (configurable number of touches, supported edges, maximum distance from edge)
Gesture recognizers are implemented as pure C# classes and can be used with your own touch input data.
Recognizers based on EventSystem can be used in uGUI-based UIs, as well as physics objects if your Camera has PhysicsRaycaster or Physics2DRaycaster components.
Recognizers based on Input detect gestures anywhere in the screen or a configurable portion of it.
How to install
This package is available on the openupm registry and can be installed using the openupm-cli:
openupm add com.gilzoide.gesture-recognizers
Otherwise, you can install directly using the Unity Package Manager with the following URL:
https://github.com/gilzoide/unity-gesture-recognizers.git#1.0.0
Installs Over Time
Operating Systems
No data yet
Top Countries
No data yet
Git Versions
No data yet
Embed Install Badge
Add an install count badge to your README
[](https://www.pkglnk.dev/pkg/gesture-recognizers)<a href="https://www.pkglnk.dev/pkg/gesture-recognizers"><img src="https://www.pkglnk.dev/badge/gesture-recognizers.svg?style=pkglnk" alt="pkglnk installs"></a>
No comments yet. Be the first!