This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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. |