Simple-Unity-Audio-Manager icon indicating copy to clipboard operation
Simple-Unity-Audio-Manager copied to clipboard

Ability to PlaySound using scriptable object argument.

Open killereks opened this issue 1 year ago • 0 comments

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);

killereks avatar Aug 23 '22 11:08 killereks