Posted on

New Input System in Unity 2020 – Multiple Input Devices

If you want to have your games cross-platform then you will need to have the ability to read in multiple device inputs. Computers use keyboards, consoles use gamepads, and mobile devices use touch inputs. To do this you can add multiple input bindings to each action of your input action asset. The new input system for Unity is really good for this because it will automatically detect the input device being used and send the actions to your scripts accordingly

Presidential Slap

Posted on

New Input System in Unity 2020 – Most Important Thing to Remember

We already talked about this in the last video but I thought I would re-emphases the importance of remembering to save your Input Action Asset after each change you make. The easiest thing to do is to enable the auto-save option but this can be a bit annoying if Unity is slow to process the changes. If you are making a lot of changes all at once you might want to wait until the end of all your changes before you save them.

Posted on

New Input System in Unity 2020 – Input Action Asset

For this video, we will show you how to create an Input Action Asset for the new input system in Unity. The Input Action asset is a new asset the comes with the install of the new input system and allows for different inputs devices to be used by the player and triggers action events when input is given.

To create an input action just right-click anywhere in the project window then go up to create and down at the bottom should be . You can then give this new asset a name and then double-click on it. This will open up the . You will then need to create a new Action Map. Action Maps are uses to group the inputs and actions related to each possible control system you might have in your game. You will then need to create the actions and bindings needed for each action map.