I created a menu item which executes a function to trigger a new KeyEvent in The GameView, however when I execute it I’m not seeing any movement in the Game View like when I use the keyboard control.
var e = new Event { keyCode = KeyCode.UpArrow, type = EventType.KeyDown };
EditorGUIUtility.QueueGameViewInputEvent (e);
What am I missing? I also tried sending a KeyUp after, I tried putting a Threading.Sleep(1000), in between the down and up events but I"m still not seeing anything happen.