AudioManager in Unity

Ing. Jan Jileček
3 min readMay 31, 2020

Add an audio listener to your camera (it should be there by default already):

Import your sounds:

Add Audio Source component to the objects you want to emit sound. I will add it to a “blood splash” prefab, that gets spawned every time enemy is killed.

Add it an check Play on awake:

--

--

Ing. Jan Jileček

INTP, UE5 dev, Master’s degree in comp-sci, Creator, indie game developer, director, writer, photographer. I like BJJ, Jungian psychology, mythology and memes.