Borodar.RainbowFolders.Editor.Settings.RainbowFoldersSettings.RemoveAll C# (CSharp) Method

RemoveAll() public method

public RemoveAll ( RainbowFolder match ) : void
match RainbowFolder
return void
        public void RemoveAll(RainbowFolder match)
        {
            if (match == null) return;
            Undo.RecordObject(this, "Modify Rainbow Folder Settings");
            Folders.RemoveAll(x => x.Type == match.Type && x.Key == match.Key);
            EditorUtility.SetDirty(this);
        }