Simple-Unity-Audio-Manager
Simple-Unity-Audio-Manager copied to clipboard
Ability to PlaySound using scriptable object argument.
I would like to suggest support for using scriptable object (Audio File Object) to play the audio, with a lot of sounds in the project enums can become very difficult to work with, and when recompiling if they are re-ordered the sounds played will be wrong. I believe scriptable objects would make it safer to manage a lot of sounds.
Currently you can only do
AudioManager.PlaySound(Sounds.sound);
But having other ways to play sound would really help user decide what's best for the project.
AudioManager.PlaySound(AudioFileObject soundObj);