mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 21:55:09 +00:00
oops debug print
This commit is contained in:
parent
f6cec18904
commit
da37cc7aae
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue