Entitas icon indicating copy to clipboard operation
Entitas copied to clipboard

Request: group.GetEntities(ICollection<TEntity> buffer)

Open FNGgames opened this issue 4 years ago • 2 comments

Is there any reason we cant have Group<TEntity>.GetEntities(ICollection<TEntity> buffer)?

Having ICollection as the input argument would allow HashSets and other collections to be used which can be useful in certain situations.

FNGgames avatar Oct 07 '19 14:10 FNGgames

Thanks! Good idea! Will add :)

sschmid avatar Sep 08 '22 20:09 sschmid

@FNGgames Just checked, I use List<T> because of AddRange. Very convenient. Will see if I can replace that

sschmid avatar Sep 13 '22 15:09 sschmid