スクリプトリファレンス

説明

Moves keyboard focus to another EditorWindow.

The Focus public method controls which window is
active for use of the keyboard. In the examples below
the active EditorWindow keyboard is changed to a different
EditorWindow keyboard.
See Also: focusedWindow.
Focus one window by pressing the button on other window

// EditorWindow.Focus
//
// A window that change state to the second window when
// the button is pressed.