基础内容-4

Tap,Stay,Flick基础构造
This commit is contained in:
SoulliesOfficial
2025-01-28 11:58:39 -05:00
parent 70d06c6334
commit 552651efbc
14 changed files with 269 additions and 78 deletions

View File

@@ -45,7 +45,7 @@ namespace Ichni.RhythmGame
}
}
private float GetTrackPercent(float songTimeInTime)
public float GetTrackPercent(float songTimeInTime)
{
float per = AnimationCurveEvaluator.Evaluate(animationCurveType, (songTimeInTime - trackStartTime) / trackTotalTime);
return Mathf.Clamp01(per);