Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork4
Gesture recognizer scripts for Unity based on Input and EventSystem handlers
License
gilzoide/unity-gesture-recognizers
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Touch/pointer gesture recognizer scripts based onEventSystem handlers orInput.
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 onEventSystem can be used in uGUI-based UIs, as well as physics objects if your Camera hasPhysicsRaycaster orPhysics2DRaycaster components.
Recognizers based onInput detect gestures anywhere in the screen or a configurable portion of it.
This package is available on theopenupm registry and can be installed using theopenupm-cli:
openupm add com.gilzoide.gesture-recognizersOtherwise, you can install directly using theUnity Package Manager with the following URL:
https://github.com/gilzoide/unity-gesture-recognizers.git#1.0.0About
Gesture recognizer scripts for Unity based on Input and EventSystem handlers
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.