/// <summary> /// Reset keybindings to default. /// </summary> public void ResetControlsToDefaults() { KeyChanger.ResetToDefault(); }
/// <summary> /// Close keybindings window. Use this instead of just disabling window(Cancels all <see cref="KeyChanger"/> and saves key settings. /// </summary> public void KeybindingClose() { keybindingWindow.SetActive(false); KeyChanger.CancelAll(); InputManager.Instance().Save(); }