docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Restore original bindings

    To remove binding overrides and restore defaults, use RemoveBindingOverride or RemoveAllBindingOverrides.

    // Remove binding overrides from the first binding of the "fire" action.
    playerInput.actions["fire"].RemoveBindingOverride(0);
    
    // Remove all binding overrides from the "fire" action.
    playerInput.actions["fire"].RemoveAllBindingOverrides();
    
    // Remove all binding overrides from a player's actions.
    playerInput.actions.RemoveAllBindingOverrides();
    
    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)