Unity: The fun of using multiple Audio Managers
The Space Shooter has a variety of sound effects and music now. To have a cleaner way of all sound effects in use, AudioManagers come in pretty handy! They avoid you getting confused about which sound is played through code and make it easy to keep track about how many sound effects we have in use.
Advantages of multiple AudioManager GameObjects
Using more than just one AudioManager has some advantages for you and others working on the project:
- You can assign the volume or the pitch of each sound effect individually without having to change these values inside of scripts
- AudioManagers are a great and clean listing of sound effects and music you have in use throughout the whole project