public bool hasFocus ;

설명

Returns true if EditorWindow is focused.