docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    CinemachineTouchInputMapper
    Namespace: Global Namespace
    Syntax
    public class CinemachineTouchInputMapper : MonoBehaviour

    Fields

    TouchSensitivityX

    Sensitivity multiplier for x-axis

    Declaration
    public float TouchSensitivityX
    Field Value
    Type Description
    Single

    TouchSensitivityY

    Sensitivity multiplier for y-axis

    Declaration
    public float TouchSensitivityY
    Field Value
    Type Description
    Single

    TouchXInputMapTo

    Input channel to spoof for X axis

    Declaration
    public string TouchXInputMapTo
    Field Value
    Type Description
    String

    TouchYInputMapTo

    Input channel to spoof for Y axis

    Declaration
    public string TouchYInputMapTo
    Field Value
    Type Description
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023