forked from TouchScript/TouchScript
-
Notifications
You must be signed in to change notification settings - Fork 1
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.
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.