Complete and Persistent Control Rebinding with the New Input System - Unity Tutorial

Uploaded by samyam
Share: Twitter Facebook
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.

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 ?
https://www.patreon.com/posts/49740047

? Documentation Links ?
ᐅDisplay String Options
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.InputBinding.DisplayStringOptions.html
ᐅRebinding Operation
https://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: https://assetstore.unity.com/packages/tools/utilities/peek-editor-toolkit-149410
ᐅEditor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889
ᐅRainbow Folders 2: https://assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526

? Support Me ?
Patreon: https://www.patreon.com/samyg
Donate: https://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 ?
https://www.patreon.com/samyg
? Discord Server ?
https://discord.gg/mj3dSnmaZc
? Twitter ?
https://twitter.com/samyam_utube
? Facebook ?
https://www.facebook.com/samyam.youtube/
? Music ?
Ambient Gold
streambeats.com
? Like and Subscribe! ?

?️ Computer Setup ?️
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam

#madewithunity #gamedev #unity