Does scheduling multiple chained jobs in OnUpdate, maintains execution order?
So for example I have
protected override JobHandle OnUpdate ( JobHandle inputDeps )
{
var job1 = new Job1 {
// ... some job2 data
}.Schedule (inputDeps) ;
var job2 = new Job2 {
// .. some job2 data
}.Schedule (job1) ;
return job2 ;
}
My both jobs are simple IJob in this case.
Will Job1 be executed before Job2, or this is not guaranteed?