//Get Input Up public static bool GetInputUp(ActionsInp action) { return(Input.GetKeyUp(keymap[action])); }
//Get the key of an action public static KeyCode GetActionKey(ActionsInp action) { return(keymap[action]); }
//Get Input Down public static bool GetInputDown(ActionsInp action) { return(Input.GetKeyDown(keymap[action])); }
//############### Dictionary Info ############### #region DictionaryInfo //Modify the key for an action (allow for multiple actions with same key) public static void ModifyInput(ActionsInp action, KeyCode keyPressed) { keymap[action] = keyPressed; }