mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:47:39 +02:00
Rhythm tweezers logic but not really
This commit is contained in:
@ -157,7 +157,7 @@ namespace RhythmHeavenMania
|
||||
|
||||
public float GetLoopPositionFromBeat(float beatOffset, float length)
|
||||
{
|
||||
return Mathf.Repeat(songPositionInBeats + beatOffset, length);
|
||||
return Mathf.Repeat((songPositionInBeats / length) + beatOffset, 1);
|
||||
}
|
||||
|
||||
public float GetPositionFromBeat(float startBeat, float length)
|
||||
|
Reference in New Issue
Block a user