samyam | Complete and Persistent Control Rebinding with the New Input System - Unity Tutorial @samyam | Uploaded April 2021 | Updated October 2024, 7 hours ago.
Make a complete rebinding system using Unity's New Input System and Rebinding UI Sample. This video will show you how to implement the rebinding menu, disable and enable controls before rebinding, add constraints to the rebinding process, remove duplicate rebinding including composite actions (2D vector as an example), implement a Reset All bindings option, and create persistent rebinds.
แ Get the full Source Code Bundle to my Unity Tutorials ๐ค
sam-yam.itch.io/samyam-full-source-code-to-all-videos
In this video I use Unity version 2020.2.7f1 and Input System version 1.1.0-preview.3. This project is available at my patron link below.
๐ฅ Get the Source Code ๐ฅ
patreon.com/posts/49740047
๐ Documentation Links ๐
แ Display String Options
docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.InputBinding.DisplayStringOptions.html
แ Rebinding Operation
docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.InputActionRebindingExtensions.RebindingOperation.html
Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!
๐ Cool Unity Assets ๐
แ Peek - Editor Toolkit: assetstore.unity.com/packages/tools/utilities/peek-editor-toolkit-149410
แ Editor Console Pro: assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889
แ Rainbow Folders 2: assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526
๐ค Support Me ๐ค
Patreon: patreon.com/samyg
Donate: ko-fi.com/samyam
โบTimestamps
0:00 Overview
1:35 Project Setup
5:23 Rebinding Menu
13:29 Why Use Unity's Rebind Sample
15:15 RebindUI Script Overview
20:21 Disable Action for Rebind
20:53 Add Rebinding Constraints
23:20 Remove Duplicate Rebinds
29:58 Reset All Bindings
31:04 Rebind Script Small Fix
31:31 Reset All Bindings Cont.
32:50 Persistent Bindings
34:15 Outro
๐๐THANK YOU TO ALL MY PATRONS ๐๐
โฏโฏโฏ My Links โฎโฎโฎ
๐ Patreon ๐
patreon.com/samyg
๐ฌ Discord Server ๐ฌ
discord.gg/mj3dSnmaZc
๐ฆ Twitter ๐ฆ
twitter.com/samyam_utube
๐ Facebook ๐
facebook.com/samyam.youtube
๐ต Music ๐ต
Ambient Gold
streambeats.com
๐ Like and Subscribe! ๐
๐ฅ๏ธ Computer Setup ๐ฅ๏ธ
*As an Amazon Associate I earn from qualifying purchases.
amazon.com/shop/samyam
#madewithunity #gamedev #unity
Make a complete rebinding system using Unity's New Input System and Rebinding UI Sample. This video will show you how to implement the rebinding menu, disable and enable controls before rebinding, add constraints to the rebinding process, remove duplicate rebinding including composite actions (2D vector as an example), implement a Reset All bindings option, and create persistent rebinds.
แ Get the full Source Code Bundle to my Unity Tutorials ๐ค
sam-yam.itch.io/samyam-full-source-code-to-all-videos
In this video I use Unity version 2020.2.7f1 and Input System version 1.1.0-preview.3. This project is available at my patron link below.
๐ฅ Get the Source Code ๐ฅ
patreon.com/posts/49740047
๐ Documentation Links ๐
แ Display String Options
docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.InputBinding.DisplayStringOptions.html
แ Rebinding Operation
docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.InputActionRebindingExtensions.RebindingOperation.html
Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!
๐ Cool Unity Assets ๐
แ Peek - Editor Toolkit: assetstore.unity.com/packages/tools/utilities/peek-editor-toolkit-149410
แ Editor Console Pro: assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889
แ Rainbow Folders 2: assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526
๐ค Support Me ๐ค
Patreon: patreon.com/samyg
Donate: ko-fi.com/samyam
โบTimestamps
0:00 Overview
1:35 Project Setup
5:23 Rebinding Menu
13:29 Why Use Unity's Rebind Sample
15:15 RebindUI Script Overview
20:21 Disable Action for Rebind
20:53 Add Rebinding Constraints
23:20 Remove Duplicate Rebinds
29:58 Reset All Bindings
31:04 Rebind Script Small Fix
31:31 Reset All Bindings Cont.
32:50 Persistent Bindings
34:15 Outro
๐๐THANK YOU TO ALL MY PATRONS ๐๐
โฏโฏโฏ My Links โฎโฎโฎ
๐ Patreon ๐
patreon.com/samyg
๐ฌ Discord Server ๐ฌ
discord.gg/mj3dSnmaZc
๐ฆ Twitter ๐ฆ
twitter.com/samyam_utube
๐ Facebook ๐
facebook.com/samyam.youtube
๐ต Music ๐ต
Ambient Gold
streambeats.com
๐ Like and Subscribe! ๐
๐ฅ๏ธ Computer Setup ๐ฅ๏ธ
*As an Amazon Associate I earn from qualifying purchases.
amazon.com/shop/samyam
#madewithunity #gamedev #unity