- Home /
Question by
Jaredrobb1 · Aug 16, 2017 at 10:56 PM ·
playerroll a ballsound effects
Making sound get louder as player moves faster?
i have finished the roll a ball tutorial and have added a rolling sound effect for when the ball is moving. Is there any way of making the sound get louder, the faster the ball is moving around?
Comment
Answer by TheSOULDev · Aug 16, 2017 at 11:35 PM
Use AudioSource.volume
to edit volume values.
https://docs.unity3d.com/ScriptReference/AudioSource-volume.html
Your answer
Follow this Question
Related Questions
Error in roll a ball script: unkown where to address [ATM] 0 Answers
How to create a rolling sound that only plays when object is moving? 2 Answers
Infinity Hallway 1 Answer
Slow down everything besides Player? 1 Answer
Player Screen Resolution 2 Answers