DoopelPonger
|
Class to save and load previous controls scheme configured from the settings menu. More...
Public Member Functions | |
void | Awake () |
Initialize references. More... | |
void | LoadToFile (InputActionMapper.Action[] actions) |
Save the list of actions and their KeyCodes to the Controls.json file in the streaming assets directory. More... | |
void | LoadFromFile () |
Load the json data from the Controls.json file in the streaming assets directory with the action/KeyCode information. More... | |
Class to save and load previous controls scheme configured from the settings menu.
void UIControlsSerializer.Awake | ( | ) |
Initialize references.
void UIControlsSerializer.LoadFromFile | ( | ) |
Load the json data from the Controls.json file in the streaming assets directory with the action/KeyCode information.
void UIControlsSerializer.LoadToFile | ( | InputActionMapper.Action [] | actions | ) |
Save the list of actions and their KeyCodes to the Controls.json file in the streaming assets directory.
actions | The list of actions to save. |