I have an audio source on my zombie (moans). When I pause, I want the zombies audio source (moans) to SetActive(false), and when I unpause to SetActive(true). I have it all done besides the part where It grabs the moaning sound and disables it. How do I use it? Getcomponent? No idea on my part, anything helps, Thank you! I could also just do AudioListener = 0 (which I do for the mute function when you press M) and it works, but if you are muted, then pause, then unpause, it makes you not muted anymore which is a problem hence why I’m using setActive instead.
ps:
Also if you know anything about making a sensitivity slider please inform me!
My pause script is in C#.