Question by
Nathan1258 · Aug 08, 2016 at 04:04 PM ·
c#scenesmusicdontdestroyonloadaudio source
How to have a script run between 2 scenes
Hi,
Iv'e made a script where it plays 4 different types of music one after each other and added that to an empty game object. I wan't that game object to survive through different scenes. Iv'e tried 'DontDestroyOnLoad' but when i go on the next level the music starts again so i have two pieces of audio playing at once instead of the audio just carrying on through the different scenes..... Anyone got an idea?
Thanks,
Nathan
Comment
Answer by Nathan1258 · Aug 08, 2016 at 05:16 PM
@Raheel217 Well i just want the music to carry on playing when i switch scenes, with no interruptions
Your answer
