Version: 2021.2
public bool hasFocus ;

描述

Returns true if EditorWindow is focused.