Title.
I’ve got an entity query that should determine, whether the system should run.
And an entity query I want to run processing on. Thing is, I need to return dependencies for the job that runs on the second query, so I can’t just use GetEntityQuery(…) for setting dependencies.
And I can’t leave
var components = query.ToComponentDataArray(Allocator.TempJob))
if (components.Length == 0) return;
because that will eat some ops.
So, how do I run system on this case?
Note that components of the first query is located on the different entity, so I can’t add them to the second query.