Creating Rebindable Input Controls In Unity

Опубликовано: 17 Март 2026
на канале: Game Dev Guide
4,651
256

Get a 90 Day free trial of Odin Inspector👉🏻https://odininspector.com/campaign/ga...

In this video, we build a fully rebindable input system in Unity using the new Input System and UI Toolkit.

We start by setting up player controls that work seamlessly across keyboard and gamepad, using a simple 2D spaceship controller as an example. From there, we build a controls menu using UI Toolkit’s data binding system, allowing the UI to be generated directly from the input data itself.

Once the controls are visible in-game, we take things further by: Switching between different control presets, allowing players to rebind individual actions at runtimeand saving and loading custom bindings between sessions.

Chapters:
Intro - 00:00
Coming Up - 01:40
Sponsor - 02:15
Setting Up Input Actions - 03:45
Player Controller - 05:30
Setting Up A Menu In UI Toolkit - 08:23
Binding Inputs To The UI - 10:40
Custom Bindings - 12:00
Populating The Menu - 14:17
Gamepad Presets - 15:20
Custom Key Rebinding - 16:34
Saving The Bindings - 17:32
Outro - 18:00

▶️ Become A Channel Member And Get Early Access To New Videos
   / @gamedevguide  

▶️ Or, join on Patreon -   / gamedevguide  

▶️ Subscribe - https://www.youtube.com/gamedevguide?...

▶️ Need Help? Join the Discord -   / discord  

💵🛒 Help support the channel with these Unity Asset Store Links:

Get the Must Have Assets! - https://assetstore.unity.com/top-asse...
Free Unity Assets! - https://assetstore.unity.com/top-asse...
New on the Asset Store! - https://assetstore.unity.com/top-asse...
Top Paid Asset Store Packages - https://assetstore.unity.com/top-asse...
Asset Store Partners - https://assetstore.unity.com/lists/as...