Unity: Creating an Event Based Sound Effects Manager Using Delegates
Published in
7 min readNov 3, 2022
Music and sound effects are an amazing way to develop immersion into your application. From informing the user to an event, to immersing the user in a scene, the use of sound can be incredibly important. This is going to be a quick article on how we can create a sound effects manager that is based on events using Action delegates.
Prerequisites
For this demo I am going to be using a simple 2D space shooting game. We will be using Action types, event listeners, serialized fields…