Unity Audio: Immersion Starts with Sound

To make a game a complete creation and add excitement to it, you need to add music to it. Fortunately, in Unity it is easy to add background music to your project.

Adding background music

  1. Create a new empty object and name it ‘Audio_Manager’.
  2. Add to this object a child empty object and name it ‘Background’.
  3. Add to ‘Background’ object, an ‘Audio Source’ component.
  4. In ‘Audio Source’ component, add an audio file to the ‘AudioClip’ field and select ‘Play on Awake’ and ‘Loop’.

Now you can enjoy the game with immersive background music.

--

--

--

Hi, I’m Damian, a Unity Software Engineer who loves building education and simulation games.

Recommended from Medium

How to connect a free M0 MongoDB Atlas instance with BI

Why I should abstract HTTP messages?

Azure Lighthouse

Trading Software Tools I Use — How and Why

Redis Streams in Action — Part 2 (Tweets consumer app)

Photo by Drew Hays on Unsplash

Expanding to multiple markets? Want to use a translation tool? Good luck with that.

Aerospike vs. Redis

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
Damian Dąbrowski

Damian Dąbrowski

Hi, I’m Damian, a Unity Software Engineer who loves building education and simulation games.

More from Medium

Using Height Maps and Pixel Displacements in Unity

Post Processing in Unity

Greyboxing a top-down space shooter in Unity

Previsualization in Unity (Game Dev Day 52)