コード例 #1
0
 /// <summary>
 /// Reset keybindings to default.
 /// </summary>
 public void ResetControlsToDefaults()
 {
     KeyChanger.ResetToDefault();
 }
コード例 #2
0
 /// <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();
 }