Skip to content

Commit

Permalink
Fix: compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnulusGames committed Jan 15, 2024
1 parent 0b95a82 commit 0b5da20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LitMotion/Assets/LitMotion/Runtime/MotionBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ internal readonly MotionHandle Schedule(IMotionScheduler scheduler, ref MotionDa
#if UNITY_EDITOR
if (!UnityEditor.EditorApplication.isPlaying)
{
return MotionDispatcher.Schedule<TValue, TOptions, TAdapter>(data, callbackData, UpdateMode.EditorApplicationUpdate);
return EditorMotionDispatcher.Schedule<TValue, TOptions, TAdapter>(data, callbackData);
}
#endif
return MotionDispatcher.Schedule<TValue, TOptions, TAdapter>(data, callbackData, UpdateMode.Update);
Expand Down

0 comments on commit 0b5da20

Please sign in to comment.