Immersion Starts With Sound

Sound is what truly brings your game together. I am going to quickly show you how to get an audio clip in your game. For my game, I am going to add my Background music and put it into an endless loop.

I have created 2 empty game objects to stay organized, one will manage all of my Audio, and then I parented the Background which will hold the music. All I need to do now is add the “Audio Source” Component to the Background game object and then drag my music clip into the Audio Clip section. I also need to check off Loop so it keeps playing, and make sure Play On Awake is checked off as well so it plays right when I start the game.

Now my game is playing music!

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