- Home /
Question by
Arpheon · Jan 27, 2013 at 10:50 PM ·
audiosceneaudiosource
Audio source in two different scenes
I have a audio source on my main menu, i would like it so when i click "Options" and it goes to a new scene, it resumes playing the song at the exact time it stopped on the new scene.
Comment
Best Answer
Answer by ynka · Jan 28, 2013 at 01:45 AM
Use AudioSource.timeSamples (http://docs.unity3d.com/Documentation/ScriptReference/AudioSource-timeSamples.html) or AudioSource.time (http://docs.unity3d.com/Documentation/ScriptReference/AudioSource-time.html).
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
How to load a scene on collision 1 Answer
How can I check the scene and play audio accordingly? 1 Answer
Audio or Music to continue playing between scene changes 17 Answers
How to play Audio Once if enemy has enterd a trigger 1 Answer