Skip to content

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:

  1. 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),
  2. 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.

You can’t perform that action at this time.