protected override void OnUpdate()
        {
            Dependency = new EnterBoostPadJob
            {
                BoostPadGroup        = GetComponentDataFromEntity <BoostPad>(true),
                AudioSourceGroup     = GetComponentDataFromEntity <AudioSource>(true),
                PlayerGroup          = GetComponentDataFromEntity <PlayerTag>(true),
                SpeedMultiplierGroup = GetComponentDataFromEntity <SpeedMultiplier>(),
                EntityCommandBuffer  = _entityCommandBufferSystem.CreateCommandBuffer()
            }.Schedule(_stepPhysicsWorldSystem.Simulation, ref _buildPhysicsWorldSystem.PhysicsWorld, Dependency);

            _entityCommandBufferSystem.AddJobHandleForProducer(Dependency);
        }
        protected override JobHandle OnUpdate(JobHandle inputDeps)
        {
            var jobHandle = new EnterBoostPadJob
            {
                BoostPadGroup        = GetComponentDataFromEntity <BoostPad>(true),
                AudioSourceGroup     = GetComponentDataFromEntity <AudioSource>(true),
                PlayerGroup          = GetComponentDataFromEntity <PlayerTag>(true),
                SpeedMultiplierGroup = GetComponentDataFromEntity <SpeedMultiplier>(),
                EntityCommandBuffer  = _entityCommandBufferSystem.CreateCommandBuffer()
            }.Schedule(_stepPhysicsWorldSystem.Simulation, ref _buildPhysicsWorldSystem.PhysicsWorld, inputDeps);

            _entityCommandBufferSystem.AddJobHandleForProducer(jobHandle);

            return(jobHandle);
        }