A Unity library that simplifies touch and gesture handling by treating touches as objects with persistent state.
TouchKit is a Unity library that simplifies touch and gesture input handling by treating touches as persistent objects rather than structs. It solves the problem of managing complex touch interactions in games and apps by providing a flexible system for gesture recognition and touch tracking. The library includes built-in recognizers for common gestures and allows developers to create custom recognizers easily.
Unity developers building mobile games or touch-based applications who need robust gesture recognition and touch management without low-level complexity.
Developers choose TouchKit for its object-oriented touch system that simplifies state tracking, its comprehensive set of built-in gesture recognizers, and its flexibility in defining detection areas and creating custom gestures.
Gestures and input handling made sane for Unity
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Touches are treated as objects with updating properties, simplifying persistent tracking across frames, as the README explains how this replaces Unity's struct-based system.
Includes built-in recognizers for tap, pan, swipe, pinch, rotation, and more, reducing boilerplate code for common gestures.
Recognizers can operate full-screen or within TKRects with automatic scaling for different resolutions, easing multi-platform development.
Developers can subclass TKAbstractGestureRecognizer to create custom gestures, offering extensibility for unique input needs, as detailed in the README.
Requires manual adjustment of Unity's script execution order to ensure TouchKit runs before other scripts, adding configuration complexity.
The license forbids selling or commercially distributing TouchKit outside of games, limiting use in some commercial or library-focused projects.
As admitted in the README, TouchKit doesn't save significant time for simple, single-tap processing, making it unnecessary for basic use cases.