- Home /
Audio Manager or not? Audio System
What's the best way to manage Audio in Unity project?
I've been mostly using some sort of Audio Manager working as singleton and managing all sound by their name which is very ineffective way. But worked pretty good for small 2D games.
So this is why I'm asking you what's the best way of Managing sound and music.
My current plan is to make script for managing few of AudioSources for things like MainMenu and so on, make script for managing Music and leaving rest of sounds on objects. Is this a good way? Is there a better way?
(I'm not a native English)
As with all cases, there's no best way. I have one general rule of thumb. Only when the requirements do not allow to use a single AudioSource (3D, mixed $$anonymous$$usic...) then don't. In all other cases, do, cause it's just way easier to call single singleton play sound method calls and manage all in one place than searching the correct sources all the time.
Your answer
Follow this Question
Related Questions
Can't get sound clip from array to play properly 1 Answer
How to play "audiosource" component in a prefab from script? 0 Answers
Android play mp3 file 0 Answers
Unity Unable to Reassign Audio Clip 1 Answer
AudioClip array error 1 Answer