mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 12:47:38 +02:00
Updates to note paramaters + some additional sound fixes (for r2) (#834)
* Note param stuff + some other fixes * Stuff just for r2
This commit is contained in:
@ -139,9 +139,9 @@ namespace HeavenStudio.Games
|
||||
tunnelLightMaterial.SetColor("_Color", Color.white);
|
||||
tunnelLightMaterial.SetColor("_AddColor", Color.black);
|
||||
|
||||
tunnelSoundRight?.Stop();
|
||||
tunnelSoundMiddle?.Stop();
|
||||
tunnelSoundLeft?.Stop();
|
||||
tunnelSoundRight?.KillLoop();
|
||||
tunnelSoundMiddle?.KillLoop();
|
||||
tunnelSoundLeft?.KillLoop();
|
||||
}
|
||||
}
|
||||
|
||||
@ -291,9 +291,9 @@ namespace HeavenStudio.Games
|
||||
this.fadeDuration = fadeDuration;
|
||||
conductor.FadeMinigameVolume(beat, fadeDuration, volume);
|
||||
|
||||
tunnelSoundRight?.Stop();
|
||||
tunnelSoundMiddle?.Stop();
|
||||
tunnelSoundLeft?.Stop();
|
||||
tunnelSoundRight?.KillLoop();
|
||||
tunnelSoundMiddle?.KillLoop();
|
||||
tunnelSoundLeft?.KillLoop();
|
||||
|
||||
tunnelSoundRight = SoundByte.PlayOneShotGame("tunnel/tunnelRight", beat, looping: true);
|
||||
tunnelSoundMiddle = SoundByte.PlayOneShotGame("tunnel/tunnelMiddle", beat + (6 / 48f), looping: true);
|
||||
|
Reference in New Issue
Block a user