BTSDS: Piano does not pierce ears as much

This commit is contained in:
Jenny Crowe
2022-03-07 02:34:38 -07:00
parent 2ac602dbe6
commit 34819ed791
3 changed files with 11 additions and 7 deletions

View File

@ -8,6 +8,7 @@ namespace RhythmHeavenMania.Util
{
public AudioClip clip;
public float pitch = 1;
public float volume = 1;
// For use with PlayOneShotScheduled
public bool scheduled;
@ -31,6 +32,7 @@ namespace RhythmHeavenMania.Util
audioSource = GetComponent<AudioSource>();
audioSource.clip = clip;
audioSource.pitch = pitch;
audioSource.volume = volume;
audioSource.loop = looping;
if (beat == -1 && !scheduled)