docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Assign an existing action asset as project wide

    You can assign an existing action asset as project wide in Project Settings, or from the asset's Inspector window.

    To assign an action asset as project wide in Project Settings:

    1. Go to Edit > Project Settings > Input System Package.

    2. Drag the asset from the Project window into Project-wide Actions.

      The Project Settings window with Input System Package selected. The Project-wide Actions field is empty. Below it, an information box explains that you can assign an action asset in this field or create one in this window, and a button creates and assigns the default project wide action asset.

      The Input System Package settings with no project wide actions assigned.

    To assign an action asset as project wide from the Inspector window:

    1. In the Project window, select the action asset.
    2. In the Inspector window, select Assign as the Project-wide Input Actions.

    You can assign only one action asset as project wide. If you assign a different asset, the previous asset stops being project wide.

    Stop using an asset as project wide

    To stop using an action asset as project wide:

    1. Go to Edit > Project Settings > Input System Package.
    2. Set Project-wide Actions to None.

    The asset stays in your project, but InputSystem.actions becomes null, and the Input System no longer enables the asset's actions automatically. To use the actions, reference the asset from your scripts and enable its action maps yourself. For more information, refer to Enable actions.

    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)