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
Namespace: Global Namespace
Syntax
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 |
---|---|
Single |
TouchSensitivityY
Sensitivity multiplier for y-axis
Declaration
[Tooltip("Sensitivity multiplier for y-axis")]
public float TouchSensitivityY
Field Value
Type | Description |
---|---|
Single |
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 |