-
Notifications
You must be signed in to change notification settings - Fork 370
TUIOInput
Valentin Simonov edited this page Jan 17, 2018
·
7 revisions
TouchScript supports devices which send touch data using TUIO protocol.
To enable TUIO support you need to do the following:
- Make sure that you have either downloaded or built TUIO dlls (if you got TouchScript package from Asset Store or Github releases, these dlls are already included),
- Add TOUCHSCRIPT_TUIO define to your Player Settings using TouchScript Settings window (Window > TouchScript > Settings).
To receive TUIO data add TUIOInput to your scene. Be advised that TUIOInput doesn't work on platforms which don't support Sockets (WebGL).
If you want to debug TUIO issues you can record OSC data from your device using oscreplayer and replay it in Unity editor.
