Unity: Creating background music
Jun 9, 2021
Objective: We need to add some background music for our game.
To start, we should set up an empty game object that represents our audio manager and also create a empty child object that represents our background audio.
Next on the background object we need to add a component called audio source that’ll handle the functionality of playing our background audio. When the component is added drag your audio file to where it says audio clip and then make sure play on awake and loop are check marked so the music starts when the game starts and it doesn’t stop.