Setup New Unity Input System
This article is going to show how to set up a control map using the new Unity Input System.
First you need to create an Input Assets file within Unity.
Right click where you want the file → Create → Input Actions
- Double click your new Input Actions file
Now you can create action maps with actions attached.
Once you have completed that you need to save Asset in the Input Actions and then under the inspector you should check generate C# class and click apply.
Doing this will create the C# script that you can reference all your inputs from.
I will explain in more detail in articles that follow.