protected override JobHandle OnUpdate(JobHandle inputDeps) { var movejob = new UnitMoveJob() { velocity = .5f, }; return(movejob.Schedule(this, inputDeps)); }
protected override JobHandle OnUpdate(JobHandle inputDeps) { var job = new UnitMoveJob(); return(job.Schedule(this, inputDeps)); }