internal static void ExecuteAddComponentMenuItem()
        {
            InspectorWindow inspectorWindow = AddComponentWindow.FirstInspectorWithGameObject();

            if (inspectorWindow != null)
            {
                inspectorWindow.SendEvent(EditorGUIUtility.CommandEvent("OpenAddComponentDropdown"));
            }
        }
        internal static void ExecuteAddComponentMenuItem()
        {
            InspectorWindow inspectorWindow = AddComponentWindow.FirstInspectorWithGameObject();

            if (!((UnityEngine.Object)inspectorWindow != (UnityEngine.Object)null))
            {
                return;
            }
            inspectorWindow.SendEvent(EditorGUIUtility.CommandEvent("OpenAddComponentDropdown"));
        }
 internal static bool ValidateAddComponentMenuItem()
 {
     return(AddComponentWindow.FirstInspectorWithGameObject() != null);
 }
 internal static bool ValidateAddComponentMenuItem()
 {
     return((UnityEngine.Object)AddComponentWindow.FirstInspectorWithGameObject() != (UnityEngine.Object)null);
 }