Dynamically Rebinding Controls In Unity With UI Toolkit
Dev logs
18:47
Get 20% off Odin Personal with code: GAMEDEVGUIDE20 👉🏻https://odininspector.com/campaign/gamedevguide
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.
▶️ Become A Channel Member And Get Early Access To New Videos
https://www.youtube.com/channel/UCR35rzd4LLomtQout93gi0w/join
▶️ Or, join on Patreon - http://www.patreon.com/GameDevGuide
▶️ Subscribe - https://www.youtube.com/gamedevguide?sub_confirmation=1
▶️ Need Help? Join the Discord - http://www.discord.gg/yYcww7U
💵🛒 Help support the channel with these Unity Asset Store Links:
Get the Must Have Assets! - https://assetstore.unity.com/top-assets/top-download?aid=1101la6X4
Free Unity Assets! - https://assetstore.unity.com/top-assets/top-free?aid=1101la6X4
New on the Asset Store! - https://assetstore.unity.com/top-assets/top-new?aid=1101la6X4
Top Paid Asset Store Packages - https://assetstore.unity.com/top-assets/top-paid?aid=1101la6X4
Asset Store Partners - https://assetstore.unity.com/lists/asset-store-partners-6?aid=1101la6X4




