Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Unity
  3. TouchScript

TouchScript

NOASSERTIONC#9.0

A complete multi-touch gesture library for Unity that handles complex gesture interactions across iOS, Android, Windows, and TUIO platforms.

GitHubGitHub
1.7k stars366 forks0 contributors

What is TouchScript?

TouchScript is a multi-touch library for Unity that provides a complete solution for handling complex gesture interactions across multiple platforms. It solves the problem of making gestures work together in complex scenarios, such as having interactive elements on zoomable surfaces, by abstracting touch logic from input methods and managing gesture hierarchies.

Target Audience

Unity developers creating applications for mobile devices, PCs with touch input, or interactive installations requiring robust multi-touch gesture handling.

Value Proposition

Developers choose TouchScript because it provides a unified, platform-agnostic approach to multi-touch gestures with built-in common gestures, excellent gesture conflict resolution, and extensive testing tools—all available as free, open-source software under the MIT license.

Overview

Complete multi-touch solution for Unity: iOS, Android, Windows, TUIO.

Use Cases

Best For

  • Building Unity applications with complex multi-touch gesture interactions
  • Developing cross-platform touch applications for iOS, Android, and Windows
  • Creating interactive installations with TUIO protocol support
  • Implementing gesture-based interfaces without worrying about platform-specific touch APIs
  • Testing multi-touch gestures on single-touch devices during development
  • Adding professional-grade gesture recognition to Unity projects without reinventing the wheel

Not Ideal For

  • Projects only needing basic mouse or single-touch input without complex gesture hierarchies
  • Teams already deeply integrated with Unity's newer Input System or other touch frameworks
  • Applications targeting non-touch platforms like VR or consoles
  • Projects with extreme performance sensitivity where abstraction layers could impact frame rates

Pros & Cons

Pros

Comprehensive Platform Support

Abstracts input from mouse, Windows touch, iOS, Android, and TUIO, allowing developers to write consistent code across all devices, as highlighted in the README's platform abstraction feature.

Advanced Gesture Management

Intelligently routes touch input in the transform hierarchy to the most relevant gesture, solving complex scenarios like buttons on zoomable windows, a core strength mentioned in the philosophy.

Built-in and Custom Gestures

Includes common gestures like tap, pinch, and rotate, and supports writing custom gestures, providing flexibility for diverse touch interactions as detailed in the features.

Development-Friendly Testing

Offers multi-touch simulation with Alt+click and mobile apps like TUIOPad, making it easy to test gestures without physical multi-touch devices, explicitly noted in the README's testing tools.

Cons

Architectural Complexity

The gesture hierarchy and abstraction layers introduce a steeper learning curve and potential overhead compared to simpler, direct Unity input handling, which might slow down initial setup.

Potential Integration Overhead

As a third-party library, it requires setting up prefabs like TouchManager and Cursors, and may not seamlessly integrate with Unity's latest input systems or updates, adding maintenance burden.

Limited Ecosystem Support

While documented, the library's community and maintenance might be smaller than official Unity assets, affecting long-term support, bug fixes, and compatibility with new Unity versions.

Frequently Asked Questions

Quick Stats

Stars1,701
Forks366
Contributors0
Open Issues77
Last commit3 years ago
CreatedSince 2012

Tags

#ios#multi-touch#android#game-development#gesture-recognition#unity#mobile-development#cross-platform#touch-input

Built With

U
Unity

Included in

Unity7.1k
Auto-fetched 7 hours ago

Related Projects

TouchKitTouchKit

Gestures and input handling made sane for Unity

Stars915
Forks138
Last commit7 years ago
InControlInControl

An input manager for Unity that tames the cross-platform controller beast.

Stars697
Forks142
Last commit5 years ago
InputBinderInputBinder

Easily bind input events to methods in Unity.

Stars75
Forks12
Last commit11 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub