Hey,
In my game I use an external audio library.
For this reason, I need an audio manager capable of retrieving the data of AudioClips and performing some other operations related to the library, in order to play sounds, etc. This manager will have to work in multiple levels/scenes, and I’d like to avoid using an instance of it in every scene.
As the Unity noob I am, I’m having a bit of trouble thinking this through…
Should I build the manager as a singleton?
Or should it be a “normal” class and call its constructor on a level 0 and use DontDestroyOnLoad?
thanks
EDIT: This >>post<< provides a good discussion about a similar doubt.