New Input System — Action Map Overview
Objective: Understanding the Action Map!
In this tutorial we are going to be going over the basics of the action map. To begin, double click on the action asset in your program view.
Unity doesn’t save edits you make in the Action Asset window when you save the project. To save changes select ‘Save Asset’ in the window’s toolbar. You can toggle auto-saving on by enabling the Auto-Save checkbox in the toolbar.
The Action editor window is divided into three panes: left, middle, and right. The left pane lists the Action Maps in the Asset. Each Action Map is a collection of Actions that you can enable or disable as a whole.
The middle contains the Actions in the currently selected Actions Map, and all the binding associated with each Action.
Finally, the right pane contains the properties of the currently selected Action or Binding.
To add a new Action Map select the add + icon in the header of the Action Map collum.
You can duplicate and delete an Action map with a right click.
If, for example, you were creating an open world game. You would have an Action Map for your player movements, but you would also have one for if you were driving a vehicle or flying a plane.
You can only have one Action map active at a time, but you can switch in real time as your player enters a vehicle or plane. This is all for the overview. Don’t be afraid to experiment with your Action Maps and I’ll see you in the next turtoial!