How to get control in editor?
Hello. I need to get type (textarea, checkbox, ...), name and content (text, is checked, ...) of editor's control wich in keyboard focus. For example, I press CTRL+3 to go to inspector, then press down arrow. Keyboard focus moved to some control. Now I need get name, type and content of this control. I found method UnityEditor.EditorGUIUtility.GetControlID(FocusType.Keyboard) but how can I get control with this id? Also I found method UnityEngine.GUI.GetNameOfFocusedControl() but it doesn't work at all. Thanks.
Comment