Jukebox/Sound code cleanup

This commit is contained in:
Jenny Crowe
2022-03-09 20:59:48 -07:00
parent 84c4e8fc9f
commit 1a90ba28d9
4 changed files with 21 additions and 21 deletions

View File

@ -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);
}
}
}