Browse Source

add ProfilingList.RemoveAll()

main
Colin McMillen 3 years ago
parent
commit
6fed3acdda
  1. 7
      Shared/ProfilingList.cs

7
Shared/ProfilingList.cs

@ -1,4 +1,5 @@
using System.Collections;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
@ -60,6 +61,10 @@ namespace SemiColinGames {
return items.Remove(item);
}
public int RemoveAll(Predicate<T> match) {
return items.RemoveAll(match);
}
public void CopyTo(T[] array, int arrayIndex) {
items.CopyTo(array, arrayIndex);
}

Loading…
Cancel
Save