Area-Specific Sounds

(Screen Shot of the zone where new sounds play [red rectangle], and the sound mixers)

In unity, I learned how to play sounds in certain areas by writing a piece of code that activates a sound mixer when you step inside a certain area. This could be potentially used for zone music, or even cutscenes. I did have a problem with the code, because it wouldn’t let me manually add components into the game manager section, but now I have it mostly working, I just need to figure out how to establish that the red rectangle is the zone.

Leave a Reply

Your email address will not be published. Required fields are marked *