Skip to content

Defines

Valentin Simonov edited this page Jul 30, 2017 · 3 revisions

TouchScript hides bits of functionality under C# preprocessor defines:

  • TOUCHSCRIPT_DEBUG — enables debug overlays for a few gestures.
  • TOUCHSCRIPT_TUIO — enables TUIO support.

To set these defines in Unity add them to Scripting Define Symbols in Player Settings:

Since TouchScript 9.0 this is also possible to do from the Settings Window (Window > TouchScript > Settings).