#no way to do use EntityQueryBuilder with

1 messages · Page 1 of 1 (latest)

stuck turret
#

Guess that one was missed, sorry about that! :3

elfin tusk
#

It's not the prettiest thing, but you can use the API that takes an INativeList

var componentTypes = new FixedList32Bytes<ComponentType>();
componentTypes.Add(ComponentType.ChunkComponent<EcsTestData>());
var query = new EntityQueryBuilder(Allocator.Temp)
    .WithAll(ref componentTypes)
    .Build(this);