Adding Ambient Music in Unity

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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rusben Guzman

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.