public bool HasFocus() { if (m_EditorWindow != null && EditorWindowWrap.HasFocus(m_EditorWindow)) { return(GUIUtility.keyboardControl == m_KeyboardControlID); } return(false); }
public bool HasFocus() { if (!ViewConfig.AllowFocusRendering) { return(true); } if (m_KeyboardControlID == GUIUtility.keyboardControl) { return(EditorWindowWrap.HasFocus(Owner.WindowOwner)); } return(false); }