UnityEditorのグローバルEventを取得する

EditorApplication. globalEventHandlerを使えばEventを取得できる。