mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-04-30 00:44:26 +02:00
oops debug print
This commit is contained in:
parent
f6cec18904
commit
da37cc7aae
@ -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…
x
Reference in New Issue
Block a user