Open distractoo opened 9 years ago
I fixed this issue by creating a dont destroy on load c# Code so that the sound will not be destroyed upon loading the next scene.
Doing this created another problem, when the play looses and plays again the sound plays 2 times in the background so i created a destroy script.
When the player goes to the scene 0(Main menu) the sound is destroyed and when the player hits play and level 1 is loaded the sound is played.
See the commit here :
https://github.com/distractoo/underwaterGame/commit/27ad89c15630cd285e860de0e0b7fe6cbf9ca43c
Basically i am finding an issue when it comes to sound as the sound is not continue to play from one scene to another