Adding Audio track in Unity’s Timeline

Music, Voices, SFX and more…

Rusben Guzman
Oct 27, 2021

Objective: Create a gameobject with an audio source component and add it to the timeline.

First we have to create an empty game object in this case it is going to be for the background music for the intro cutscene.

Then we have to add the audio source component to this game object.

After that just assign the respective audio clip in the inspector.

In the timeline window we have to select the + sign and create an audio track.

In order to have audio in the timeline we just have to assign the game object with the audio source component to the audio track and drop the audio clip in the timeline.

And that’s it!!! We just have to enter in play mode and you are gonna be able to listen to the music.

--

--

Rusben Guzman
Rusben Guzman

Written by Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

No responses yet