public void PlayMusicAmbient(bool submerge) { if (submerge) { if (JustSubmerge) { JustSubmerge = false; Ambient.stop(); Dispose(Ambient); Ambient.FileName = UnderWaterFileName; Ambient.play(true); Submerge.play(); } } else { if (!JustSubmerge) { JustSubmerge = true; Ambient.stop(); Dispose(Ambient); Ambient.FileName = AmbientFileName; Ambient.play(true); ToSurface.play(); } } }