Sound playing through scenes

Hi!

In my project I have some scenes that are spash screens, loading screens, menu screens and game scene. I’d like to have a music playing in the first scene that plays continuously through the scenes.

Is this possible?

Or when I load a new scene, the game object with the AudioSource in the late scene is over and that’s it?

Thanks!

Hi, this can be achieved by attaching this simple bit of code to the object that contains your AudioSource

function Awake () {
DontDestroyOnLoad (this);
}

Thanks!

Hum, and let’s supose: I have this object that plays two or more musics. Is it possible to work with it as it does not live in that new scene?