Adding Ambient Music in Unity

An experience is better with background music

Rusben Guzman
Jan 3, 2022

Objective: create an object to play the background music.

In Unity it is very easy to add background music. First create an empty gameobject, then add an AudioSource Component and the last step is to assign the audio clip.

You can adjust the volume of the audio source component until you find a comfortable mix for the game.

And that’s it!!! Now our game have an ambient music to improve the atmosphere.

--

--

Rusben Guzman
Rusben Guzman

Written by Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

No responses yet