protected override JobHandle OnUpdate(JobHandle inputDeps) { FallJob fallJob = new FallJob() { DeltaTime = Time.deltaTime }; return(fallJob.Schedule(this, inputDeps)); }
protected override JobHandle OnUpdate(JobHandle inputDeps) { var job = new FallJob { deltaTime = Time.deltaTime, parentPos = SnowFallGenerator.position, }; return(job.Schedule(this, 64, inputDeps)); }