Unity: Creating an Event Based Sound Effects Manager Using Delegates

Michael Quinn
Unity Coder Corner
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

--

--

Michael Quinn
Unity Coder Corner

I’m a foodie and a software engineer. Unity and Unreal developer. See more at MikeQ.dev