#get all entities with a shared component within a job
1 messages · Page 1 of 1 (latest)
did you look at shared component filters?
EntityQuery query = ...;
query.SetSharedComponentFilter(new MySharedComponent{ Value = 1});
someJob.Schedule(query);
1 messages · Page 1 of 1 (latest)
Hi, i'm trying to get all entities with a specific ISharedComponent within a job. I have been searching for a while now but couldn't find the answer.
Is there a way to do this, and if so, How?
did you look at shared component filters?
EntityQuery query = ...;
query.SetSharedComponentFilter(new MySharedComponent{ Value = 1});
someJob.Schedule(query);