Skip to content

TouchManager

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

All touch input handling in TouchScript is done by an internal object implementing ITouchManager interface.
Your code can get this instance via TouchManager's static property TouchManager.Instance.

Configuring touch input in your scene

TouchManager is a MonoBehaviour, so you can place it in your scene.
It is a serializable container for touch options you want to use in a particular scene.
Using TouchManager you can configure Touch Layers and Display Device.

You can’t perform that action at this time.