oops debug print

This commit is contained in:
minenice55 2024-01-15 12:31:12 -05:00
parent dd51faf010
commit 1d21ef8e22

View file

@ -269,7 +269,6 @@ namespace HeavenStudio.Games
float normalizedBeat = cond.GetPositionFromBeat(cartEase.beat, cartEase.length); float normalizedBeat = cond.GetPositionFromBeat(cartEase.beat, cartEase.length);
Util.EasingFunction.Function func = Util.EasingFunction.GetEasingFunction(cartEase.ease); Util.EasingFunction.Function func = Util.EasingFunction.GetEasingFunction(cartEase.ease);
float newPos = func(0f, 1f, normalizedBeat); float newPos = func(0f, 1f, normalizedBeat);
Debug.Log($"{normalizedBeat}, {newPos}");
CartGuyParentAnim.DoNormalizedAnimation($"Move{cartDir}", newPos); CartGuyParentAnim.DoNormalizedAnimation($"Move{cartDir}", newPos);
if (normalizedBeat >= 1) cartEase.length = 0; if (normalizedBeat >= 1) cartEase.length = 0;
} }