Action Map in Unity Overview

Josh Watts
2 min readJun 2, 2022

--

Action maps allow our player to have multiple systems to move around in. Say you have a game like star wars battlefront. You may have one control system for using the flying vehicles, another for the player movement and another for land vehicles. You may only have one map active at a time. Lets start by creating our first action. The action will fire when we hit space key.

To start out lets name our first action map Player and delete the action that Unity automatically sets up for us as it is better to start from scratch. Than click the plus icon to add a new action called fire. Another plus icon will show up to add a binding.

With Properties we can add bindings. Click on path to find the keyboard and than the space key.

Alternatively you can hit listen and than hit the space key it will automatically come up with space.

Don’t forget to hit the save asset to save the key if you do not the work will not be saved alternatively you could check off the box auto save.

--

--

Josh Watts

Hello I am an aspiring game developer learning to develop great games. Right now I am going through a program with GameDevHQ. My favorite game is Half-Life.