Version: 2017.4
public bool HasFocus ();

説明

Returns true if the TreeView and its EditorWindow have keyboard focus.