rabidus-test/Assets/Plugins/QFSW/Quantum Console/Source/Scripts/QuantumKeyConfig.cs

26 lines
1.2 KiB
C#
Raw Normal View History

2023-08-22 15:41:12 +03:00
using UnityEngine;
namespace QFSW.QC
{
[CreateAssetMenu(fileName = "Untitled Key Config", menuName = "Quantum Console/Key Config")]
public class QuantumKeyConfig : ScriptableObject
{
public KeyCode SubmitCommandKey = KeyCode.Return;
public ModifierKeyCombo ShowConsoleKey = KeyCode.None;
public ModifierKeyCombo HideConsoleKey = KeyCode.None;
public ModifierKeyCombo ToggleConsoleVisibilityKey = KeyCode.Escape;
public ModifierKeyCombo ZoomInKey = new ModifierKeyCombo { Key = KeyCode.Equals, Ctrl = true };
public ModifierKeyCombo ZoomOutKey = new ModifierKeyCombo { Key = KeyCode.Minus, Ctrl = true };
public ModifierKeyCombo DragConsoleKey = new ModifierKeyCombo { Key = KeyCode.Mouse0, Shift = true };
public ModifierKeyCombo SuggestNextCommandKey = KeyCode.Tab;
public ModifierKeyCombo SuggestPreviousCommandKey = new ModifierKeyCombo { Key = KeyCode.Tab, Shift = true };
public KeyCode NextCommandKey = KeyCode.UpArrow;
public KeyCode PreviousCommandKey = KeyCode.DownArrow;
public ModifierKeyCombo CancelActionsKey = new ModifierKeyCombo { Key = KeyCode.C, Ctrl = true };
}
}