One of the distinct advantages of using Action Maps instead of input events is the ability to allow the player to customize the input controls of the game to their personal preferences. The modified Action Maps are saved and loaded using user profiles.
This section will explain how to modify an ActionMap at runtime as well as how to load and save them. You will need to decide whether adding this functionality makes sense for your type of project.
Tip
Apart from the Action mapping, user profiles also store a list of personal settings, such as brightness, volume, and difficulty level. As these are not input system relevant, they will not be covered in this chapter. If you want to learn more, please take a look at the attributes.xml
file at Game\Libs\Config\Profiles\default
.