Switching Action Maps in Unity's Input System

Uploaded by samyam
Share: Twitter Facebook
Switch the current input action map and enable/disable multiple action maps easily with Unity's Input System.

? Get the Source Code ?
https://www.patreon.com/posts/55678926

? Support Me ?
Patreon: https://www.patreon.com/samyg
Donate: https://ko-fi.com/samyam

►? Relevant Video Links ?
ᐅInput Action Map Documentation
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.InputActionMap.html
ᐅMultiple Action Maps Forum
https://forum.unity.com/threads/new-input-system-multiple-action-maps.615877/

In this video I will show you how to switch your input system action maps. We will use the PlayerInput component to switch the current action map, then I'll show you how to enable and disable multiple action maps at the same time, using both the PlayerInput component and the Generate C# script way. It is important to note that your action names should be unique throughout your input action asset.

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!

? Other 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

►⏱️ Timestamps ⏱️

??THANK YOU TO ALL MY PATRONS ??

❯❯❯ My Links ❮❮❮
? Patreon ?
https://www.patreon.com/samyg
? Discord Server ?
https://discord.gg/SwCKB3Q
? 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