docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    The Player Input component

    The Player Input component provides two related but separate features which can be useful in common game scenarios. These are:

    • Configuring how actions map to methods or callbacks in the script that controls your player.

    • Handling local multiplayer scenarios such as player lobbies, device filtering, and screen-splitting.

    Topic Description
    About the Player Input Component Represent the connection between a player's associated device, actions, and methods or callbacks.
    Get started with the Player Input component Assign your action asset and set up action responses.
    Select a notification behavior Use the Behavior property to determine how a PlayerInput component notifies game code when something related to the player has occurred.
    Configure Unity events Learn about properties to configure PlayerInput.
    Device Assignments Force two PlayerInput components for the same Devices.
    Debug Player Input Component Learn about the Debug section of the Player Input component.
    Use PlayerInput Component with UI Set up the PlayerInput component to work with an InputSystemUIInputModule to drive the UI system.
    Local multiplayer scenarios Implement local multiplayer features, such as device filtering, and screen-splitting.

    Additional resources

    • Set up PlayerInput Component for local multiplayer
    • UI system.
    • The Player Input Manager Component
    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)