Version: 2017.3

GUI.GetNameOfFocusedControl

Cambiar al Manual
public static string GetNameOfFocusedControl ();

Descripción

Get the name of named control that has focus.

Control names are set up by using SetNextControlName. When a named control has focus, this function will return its name. If no control has focus or the focused control has no name set, an empty string will be returned instead.

no example available in C#