sschmid/Entitas

Why do not use type IEnumerable<TKey> as "getKey" param?

Weiged opened this issue · 1 comments

Ask a question
A clear and concise question. Ex. How to do xyz?
There is no need for limit param to Array. IEnumerable is enouth and more flexible.

Do you mean in AbstractEntityIndex?
https://github.com/sschmid/Entitas/blob/develop/src/Entitas/EntityIndex/AbstractEntityIndex.cs#L23

We could change getKeys to IEnumerable