Class CinemachineTouchInputMapper
This is an add-on behaviour that globally maps the touch control to standard input channels, such as mouse X and mouse Y. Drop it on any game object in your scene.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Obsolete]
[AddComponentMenu("")]
public class CinemachineTouchInputMapper : MonoBehaviour
Fields
Name | Description |
---|---|
TouchSensitivityX | Sensitivity multiplier for x-axis |
TouchSensitivityY | Sensitivity multiplier for y-axis |
TouchXInputMapTo | Input channel to spoof for X axis |
TouchYInputMapTo | Input channel to spoof for Y axis |