Class AxisInputControl | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class AxisInputControl

    Inheritance
    Object
    InputControl
    AxisInputControl
    Inherited Members
    InputControl.m_Index
    InputControl.m_State
    InputControl.index
    InputControl.provider
    InputControl.isEnabled
    InputControl.data
    InputControl.name
    InputControl.GetPrimarySourceName(String)
    InputControl.rawValue
    InputControl.sourceControlNames
    Namespace: UnityEngine.InputNew
    Syntax
    public class AxisInputControl : InputControl

    Constructors

    AxisInputControl(Int32, InputState)

    Declaration
    public AxisInputControl(int index, InputState state)
    Parameters
    Type Name Description
    Int32 index
    InputState state

    Fields

    negative

    Declaration
    public readonly ButtonInputControl negative
    Field Value
    Type Description
    ButtonInputControl

    positive

    Declaration
    public readonly ButtonInputControl positive
    Field Value
    Type Description
    ButtonInputControl

    Properties

    value

    Declaration
    public float value { get; }
    Property Value
    Type Description
    Single
    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