protected override JobHandle OnUpdate(JobHandle input) { var job = new SunMovementJob { Delta = _watch.ElapsedSeconds * SpeedFactor, }; _watch.Restart(); return(new UpdateClockJob { Delta = job.Delta }.Schedule(this, job.Schedule(this, input))); }
protected override JobHandle OnUpdate(JobHandle input) { var job = new SunMovementJob { Delta = _watch.ElapsedSeconds * SpeedFactor, }; _watch.Restart(); return(new UpdateClockJob { Delta = job.Delta }.Schedule(this, job.Schedule(this, input))); }