Overview
GestureManager is the ultimate plug & play solution for gesture detection – As easy as it gets. Just drop it into your scene and instantly access gestures like Swipe, Tap, Pinch, Rotate, Press and more — both on mobile devices and in the Unity Editor using mouse and keyboard, and both old or new Input System.
Designed for developers who want to skip the overhead and get straight to the action.
Read the gesture's data with 1 line of code.
Key features
- Zero setup: Drag the prefab in, you're ready to go
- Instant access to data: One line of code gets you gesture info
- No code required for configuration
- Supports both Unity Input Systems (old and new)
- Supports both touch and mouse input
- See gesture positions visually (optional UI helper included)
- Editor-compatible: Test gestures without building to device
- (positions, deltas, speed, angles, tap timing, and more) Highly readable gesture structure with rich data
Supported Gestures
- Swipe (with direction detection)
- Tap / Double Tap / Long Tap / Press / Double Press
- Pinch (with distances in pixels and inches)
- Rotation
- Pan / Double Pan
Additional Utilities
- Check if any touch is over UI
- Get touch positions or count
- Customize gesture settings in code or Inspector