예제 #1
0
 public PolyShortcut(KeyCode keyCode, ShortcutModifiers modifiers, KeyboardShortcutAction action = KeyboardShortcutAction.Press)
 {
     mouseShortcut.enabled      = false;
     keyboardShortcut.enabled   = true;
     keyboardShortcut.keyCode   = keyCode;
     keyboardShortcut.modifiers = modifiers;
     keyboardShortcut.action    = action;
 }
예제 #2
0
 public KeyboardShortcut(KeyCode keyCode, ShortcutModifiers modifiers, KeyboardShortcutAction action = KeyboardShortcutAction.Press)
 {
     this.keyCode   = keyCode;
     this.modifiers = modifiers;
     this.action    = action;
 }