diff --git a/Assets/AnimeTask/Scripts/Animator/ConcatAnimator.cs b/Assets/AnimeTask/Scripts/Animator/ConcatAnimator.cs index a9b2430..fd6b387 100644 --- a/Assets/AnimeTask/Scripts/Animator/ConcatAnimator.cs +++ b/Assets/AnimeTask/Scripts/Animator/ConcatAnimator.cs @@ -34,10 +34,11 @@ public ConcatAnimator(IAnimator animator1, IEnumerable { while (true) { + var f = time - usedTime; if (currentAnimator == null) return (currentValue, usedTime); - var (v, used) = currentAnimator.Update(time - usedTime); + var (v, used) = currentAnimator.Update(f); - if (used < time - usedTime) + if (used < f) { currentValue = v; usedTime += used;