Entitas icon indicating copy to clipboard operation
Entitas copied to clipboard

Provide component index for EntityIndex `getKey` delegate

Open sschmid opened this issue 1 year ago • 0 comments

Change AbstractEntityIndex._getKey signature to

Func<TEntity, int, IComponent, TKey> 

to include the component index, which can be useful for exotic EntityIndexes using NoneOf matchers

See current weird implementation of EntityIndexTests.WorksWithNoneOf() and update using newly provided index.

sschmid avatar Sep 08 '22 13:09 sschmid