Skip to content

TouchManager

Erich Querner edited this page Mar 7, 2023 · 1 revision

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.

Clone this wiki locally