mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:57:37 +02:00
BTSDS: Piano does not pierce ears as much
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user