Adding Ambient Music
Adding background music couldn't be easier, simply create an empty child object within the Audio Manager and add an Audio source component. Drag in the desired audio clip and make sure “Play on Awake” and “Loop” is check on. Once you hit play, you will noticed that the background music starts playing automatically, if the music is too loud, we can adjust the volume within the audio component.
But once you trigger another cutscene, you will noticed that both the cutscene background music and the cutscene music are both playing at the same time. To fix this issue, we will need to work with the Timeline.
During the intro cutscene, we want to have the background music play after the cutscene is finished. To do this, we need to convert the background music child object into a Animation track within the timeline. Then we are going to animate the volume slider to start at zero volume until the end of the cutscene where the volume can be raised higher.
Captured and Endgame Cutscene:
Similar to the Intro cutscene but in reverse where we want the background music to cut off so we can hear the cutscene background music and voice over. Again create and animation track and animate the volume slider, this time you want the volume to go from high to low.