Пример #1
0
 public static void PressKey(KeyCode modifier, KeyCode key)
 {
     KeyCodeUtils.SimulateModifiedKeyStroke(modifier, key);
 }
Пример #2
0
 public static void PressKeys(KeyCode modifier, IEnumerable <KeyCode> keys)
 {
     KeyCodeUtils.SimulateModifiedKeyStroke(modifier, keys.Select(j => j));
 }
Пример #3
0
 public static void PressKey(IEnumerable <KeyCode> modifiers, KeyCode key)
 {
     KeyCodeUtils.SimulateModifiedKeyStroke(modifiers.Select(j => j), key);
 }