- Home /
Question by
RicardoAntezana · Aug 08, 2016 at 02:16 PM ·
audioaudiosourceaudioclipvolumeaudio.play
Breathing volume increases as player gets more tired
Hello
I have a "Stamina" variable that goes down as the player sprints. I also have a breathing sound effect for while he's running, but I would like the volume of the breathing effect to increase as the players stamina goes down and the volume to decrease back to complete silence once he's back to max stamina.
Any help is appreciated
Thanks!
Comment
Your answer
Follow this Question
Related Questions
Looping an audio while holding "shift key" 1 Answer
Can an object check on other objects? 1 Answer
Need help with AudioSources 1 Answer
Audiosource.Play() not working 0 Answers
AudioSource.clip.time won't work? 2 Answers