EditorGUIUtility.textFieldHasSelection

public static bool textFieldHasSelection;

Description 描述

True if a text field currently has focused and the text in it is selected.