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
Component.GetComponentIndex()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
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: Unity.Cinemachine.dll
Syntax
[Obsolete]
[AddComponentMenu("")]
public class CinemachineTouchInputMapper : MonoBehaviour
Fields
TouchSensitivityX
Sensitivity multiplier for x-axis
Declaration
[Tooltip("Sensitivity multiplier for x-axis")]
public float TouchSensitivityX
Field Value
Type | Description |
---|---|
float |
TouchSensitivityY
Sensitivity multiplier for y-axis
Declaration
[Tooltip("Sensitivity multiplier for y-axis")]
public float TouchSensitivityY
Field Value
Type | Description |
---|---|
float |
TouchXInputMapTo
Input channel to spoof for X axis
Declaration
[Tooltip("Input channel to spoof for X axis")]
public string TouchXInputMapTo
Field Value
Type | Description |
---|---|
string |
TouchYInputMapTo
Input channel to spoof for Y axis
Declaration
[Tooltip("Input channel to spoof for Y axis")]
public string TouchYInputMapTo
Field Value
Type | Description |
---|---|
string |