- Platform: Unity Asset Store
- Engine Used: Unity (C#)
- Developers: Only Me
The idea behind this project first came about in my second year at university where I started to get into unity editor scripts. We were taught how to make a simple audio manager using 2 lists, a dictionary & a simple play clip function. This became the basis for this asset. After I learnt the script and how it operated I added some additional methods that would play the audio in different ways, such as playing from a specific time or with a delay before being played.
A few months later I was introduced to unity editor scripting and began to teach myself how to make custom inspectors and editors. As I learnt editor scripts, I began making the script more appealing in the inspector as well as automating the process of adding clips to the lists. I feel the result is a decent asset, with plenty of options to expand the asset in the future.
After having the asset out for a while, I decided to improve it further by making the inspector look better. I also changed the backend from lists to scriptable objects in version 2.0.0 and above. This helped keep the data clean and hidden while also making it possible to add even more functionality.
The Current Design
The latest version of the asset can be seen in the screenshot on this page. This version implemented the ability to use more than one path when scanning. I personally found this to be a problem with the asset as I would organise my sounds into folder, but would then need 2-3 copies of the script to have them all in the manager. To fix this the user can now add as many paths as they like and the asset will scan all the paths into the same manager. In addition to these changes I also added two new buttons to show and hide parts of the custom inspector that took up a lot of room, these being the directories and clips displays.