Skip to content

Instantly share code, notes, and snippets.

View gregharding's full-sized avatar

greg harding gregharding

View GitHub Profile
@gregharding
gregharding / TUIOObjectManager.cs
Created March 23, 2015 08:21
TUIO Object Manager
/*
TUIO Object Manager
TUIO Object manager that supports tuio input from TouchScript.
Usage:
Add TUIOObjectManager anywhere (eg. to the EventSystem) and ensure TouchScript is active.
Ensure script priority is high.
Register listeners for object events.
/*
TouchScript Input Module
Input module that supports using Unity UI (Unity 4.6+, Unity 5.0+) with multi-touch tuio input from TouchScript.
Usage:
Add TouchScriptInputModule to the EventSystem.
Use #define CANCEL_BRIEF_TOUCHES to cancel touches that last less than validTouchTime.