protected override JobHandle OnUpdate(JobHandle inputDeps) { var job = new AddGravityForce { }; //could add fields in here for struct return(job.Schedule(this, inputDeps)); }
protected override JobHandle OnUpdate(JobHandle inputDeps) { //add the black whole gravity here. jesus. var job = new AddGravityForce { gravityStrength = PlayTimeSettings.GravityStrength }; return(job.Schedule(this, inputDeps)); }