General Workflow

Input Configuration Standard provides the storage of input elements' settings in a separate manager object, that is used by avatar's layout to load configuration. General workflow layout looks as follows:

ManagerInputController

ManagerInputController component is present in a single copy in the current game scene. It looks as follows:

This component has the Import from AvatarOverallInput button, pressing which opens import master of control configuration.

Input parameter in configuration import master is a reference to AvatarOverallInput component with adjusted input elements. Player Index parameter defines the number of the player that the control configuration will be generated for.

Pressing Import button creates the control configuration objects for every input element from specified AvatarOverallInput component.

Internal hierarchy of the object, that ManagerInputController component has been added to, looks as follows:

Object that is being supplemented with ManagerInputController is generally named InputManager. InputManager holds objects named through the following format: Player<Player Index>. Each of these objects holds control configuration of the player under particular number. Player's control configuration consists of input elements, the names of which are the same as the names of the elements in the imported components of AvatarOverallInput. Every input element holds Keyboard, Mouse and Gamepad objects, which, in turn, hold control configuration of relevant input devices.