mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:37:37 +02:00
Jukebox/Sound code cleanup
This commit is contained in:
@ -190,7 +190,7 @@ namespace RhythmHeavenMania.Games.BuiltToScaleDS
|
||||
var pianoPitch = Mathf.Pow(2f, (1f / 12f) * semiTones) *Conductor.instance.musicSource.pitch;
|
||||
var pianoSource = Jukebox.PlayOneShotGame("builtToScaleDS/Piano", -1, pianoPitch, 0.8f, true);
|
||||
|
||||
Jukebox.SetLoopParams(pianoSource, beat + length, 0.1f);
|
||||
pianoSource.SetLoopParams(beat + length, 0.1f);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user