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.

--

--

Damian Dąbrowski
Damian Dąbrowski

Written by Damian Dąbrowski

Hi, I’m Damian, an Electrical Power Engineer, who loves building AI powered apps.

No responses yet