docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Input action assets

    Store actions, bindings, action maps, and control schemes in .inputactions assets.

    Use project-wide assignment for the recommended single-asset workflow, or create additional assets when you need separate input configurations. Generate a C# API when you want type-safe access from code.

    Topic Description
    About action assets See what .inputactions assets contain and when to use them.
    About project-wide actions Assign one asset project-wide for API access without manual references.
    Create and assign a default project-wide actions asset Create the built-in default actions asset and assign it to your project.
    Create an empty action asset Create a new .inputactions asset in the Project window.
    Assign an existing action asset as project-wide Switch which asset is assigned as project-wide actions.
    Default actions Built-in actions included in the default project-wide asset.
    Generate C# API from actions Generate a type-safe C# wrapper class from an action asset.

    Additional resources

    • Actions
    • Create action maps
    • Input Actions Editor references
    • Configure input from code
    In This Article
    Back to top
    Copyright © 2026 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)