private void OnEnable()
 {
     settings        = (FinderSettings)target;
     _ignoreProperty = serializedObject.FindProperty("ingoreTypes");
     _ignorelist     = new ReorderableList(serializedObject, _ignoreProperty, true, true, false, true)
     {
         drawHeaderCallback  = (rect) => { GUI.Label(rect, "IgnoreTypes"); },
         onRemoveCallback    = (ReorderableList list) => { settings.IngoreTypes.RemoveAt(list.index); },
         drawElementCallback = (Rect rect, int index, bool isActive, bool isFocused) => {
             var type = settings.IngoreTypes[index];
             EditorGUI.LabelField(rect, new GUIContent()
             {
                 text = type.DisplayName, image = FinderAssetTypeProvider.GetTypeIcon(type.Type)
             });
         }
     };
     _findProperty = serializedObject.FindProperty("findTypes");
     _findlist     = new ReorderableList(serializedObject, _findProperty, true, true, false, true)
     {
         drawHeaderCallback  = (rect) => { GUI.Label(rect, "FindTypes"); },
         onRemoveCallback    = (ReorderableList list) => { settings.FindTypes.RemoveAt(list.index); },
         drawElementCallback = (Rect rect, int index, bool isActive, bool isFocused) => {
             var type = settings.FindTypes[index];
             EditorGUI.LabelField(rect,
                                  new GUIContent()
             {
                 text = type.DisplayName, image = FinderAssetTypeProvider.GetTypeIcon(type.Type)
             });                                                                                                              //*item.IsNameOnly? null : FinderAssetUtility.GetTypeIcon (item.Type)*/
         }
     };
 }
 private void GridHiddenElement(FinderAssetType type)
 {
     gridItemContent.text  = type.DisplayName;
     gridItemContent.image = FinderAssetTypeProvider.GetTypeIcon(type.Type) ?? EditorGUIUtility.IconContent("DefaultAsset Icon").image;
     GUILayout.Space(gridDrawer.margin);
     if (GUILayout.Button(gridItemContent, gridItemStyle, GUILayout.Width(gridDrawer.buttonSize), GUILayout.Height(gridDrawer.buttonSize)))
     {
         OnTypeSelected?.Invoke(type);
         this.Close();
     }
 }