#How do I wait for a job to complete when it's scheduled with an EntityQuery?

1 messages · Page 1 of 1 (latest)

ocean tendon
#

job.Shedule() with an EntityQuery parameter returns void instead of JobHandle How do I complete such a job or use it as a dependency?

tough zealot
#

if you pass in a dependency you will get a dependency out

#

state.Dependency = job.Schedule(state.Dependency);
is the same thing as
job.Schedule();

#

note
job.Schedule(state.Dependency);
is not the same thing as you are dropping the returned handle

cursive forge
#

This helped me 🙂