// FlexiMotion // https://kybernetik.com.au/flexi-motion // Copyright 2023-2025 Kybernetik //

using UnityEngine;

namespace FlexiMotion.Jobs
{
    /// <summary>
    /// A <see cref="JobScheduller"/> which runs its jobs in <see cref="FixedUpdate"/> using
    /// <see cref="Time.deltaTime"/>.
    /// </summary>
    /// https://kybernetik.com.au/flexi-motion/api/FlexiMotion.Jobs/JobSchedullerFixedUpdate
    /// 
    public class JobSchedullerFixedUpdate : JobScheduller
    {
        /************************************************************************************************************************/

        /// <summary>Calls <see cref="JobScheduller.ExecuteJobs"/>.</summary>
        protected virtual void FixedUpdate()
            => ExecuteJobs(Time.deltaTime);

        /************************************************************************************************************************/
    }
}

