Audio Toolbox

The package provides few sample MonoBehaviors that demonstrate how it can be used, but they would be efficient in game code. If you are a programmer by trade or not, you should have enough example to replicate in your own code how to trigger your sounds and setup your layers without thinking about the performance.



The mindset behind the architecture is extensibility and injection based. Which means that most of the classes functions are virtual, fields or properties are protected instead of private. This way classes can be extended or modified without too much effort.


Then, each classes inherits from an interface or multiple interfaces. That way you can re-implement only parts of the code as you need to. It is also very useful if you are maintaining Unit Tests, you will be able to use the Moq library without too much effort since it works well with interface and virtual functions.



Upcoming features :

  1. Fully support 3D sounds (currently they won't attach themselves to the 3D object transform)