KeyCombination(KeyCode, ShortcutModifiers)
Creates a new key combination with given key code and shortcut modifiers.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
public KeyCombination(KeyCode keyCode, ShortcutModifiers shortcutModifiers = ShortcutModifiers.None)
Parameters
Non-modifier key code of key combination.
Shortcut modifiers keys of key combination.