docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Update

    Update(float)

    Updates the state of this axis based on the Input axis defined by AxisState.m_AxisName

    Declaration
    public bool Update(float deltaTime)
    Parameters
    Type Name Description
    float deltaTime

    Delta time in seconds

    Returns
    Type Description
    bool

    Returns true if this axis's input was non-zero this Update, false otherwise

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)