Пример #1
0
 public static void SendText(string text)
 {
     KeyCodeUtils.SimulateTextEntry(text);
 }
Пример #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);
 }
Пример #4
0
 public static void PressKey(KeyCode modifier, KeyCode key)
 {
     KeyCodeUtils.SimulateModifiedKeyStroke(modifier, key);
 }
Пример #5
0
 public static void PressKey(KeyCode key)
 {
     KeyCodeUtils.SimulateKeyPress(key);
 }