docs.unity.cn
    Show / Hide Table of Contents

    Class InputAxisControllerBase<T>.Controller

    Each discovered axis will get a Controller to drive it in Update().

    Inheritance
    Object
    InputAxisControllerBase<T>.Controller
    Namespace: Unity.Cinemachine
    Syntax
    [Serializable]
    public class Controller

    Fields

    Driver

    Drives the input axis value based on input value

    Declaration
    public DefaultInputAxisDriver Driver
    Field Value
    Type Description
    DefaultInputAxisDriver

    Enabled

    When enabled, this controller will drive the input axis.

    Declaration
    [Tooltip("When enabled, this controller will drive the input axis")]
    public bool Enabled
    Field Value
    Type Description
    Boolean

    Input

    The input axis reader to read the value from the user

    Declaration
    public T Input
    Field Value
    Type Description
    T

    InputValue

    The current value of the input

    Declaration
    public float InputValue
    Field Value
    Type Description
    Single

    Name

    Identifies this axis in the inspector

    Declaration
    [HideInInspector]
    public string Name
    Field Value
    Type Description
    String

    Owner

    Identifies this owner of the axis controlled by this controller

    Declaration
    [HideInInspector]
    public Object Owner
    Field Value
    Type Description
    Object
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Saturday, May 6, 2023