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

    Class ButtonInputControl

    Inheritance
    Object
    InputControl
    ButtonInputControl
    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 ButtonInputControl : InputControl

    Constructors

    ButtonInputControl(Int32, InputState)

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

    Properties

    isHeld

    Declaration
    public bool isHeld { get; }
    Property Value
    Type Description
    Boolean

    wasJustPressed

    Declaration
    public bool wasJustPressed { get; }
    Property Value
    Type Description
    Boolean

    wasJustReleased

    Declaration
    public bool wasJustReleased { get; }
    Property Value
    Type Description
    Boolean

    Methods

    SetValueMultiplier(Single)

    Declaration
    public void SetValueMultiplier(float multiplier)
    Parameters
    Type Name Description
    Single multiplier
    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