Files
Hasebe/Library/PackageCache/com.annulusgames.lit-motion@12af37b103ef/Editor/EditorUpdateMotionScheduler.cs
T
2026-09-21 12:15:57 +03:00

17 lines
572 B
C#

using UnityEditor;
namespace LitMotion.Editor
{
internal sealed class EditorUpdateMotionScheduler : IMotionScheduler
{
public double Time => EditorApplication.timeSinceStartup;
public MotionHandle Schedule<TValue, TOptions, TAdapter>(ref MotionBuilder<TValue, TOptions, TAdapter> builder)
where TValue : unmanaged
where TOptions : unmanaged, IMotionOptions
where TAdapter : unmanaged, IMotionAdapter<TValue, TOptions>
{
return EditorMotionDispatcher.Schedule(ref builder);
}
}
}