mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2025-06-10 22:20:40 +02:00
chore: clean up
This commit is contained in:
@ -10,6 +10,7 @@ public class LevelHomeButton : MonoBehaviour
|
||||
public static IEnumerator PlaySoundAndLoadScene(AudioSource sfxSource, string scene)
|
||||
{
|
||||
yield return new WaitWhile(() => sfxSource.isPlaying);
|
||||
Time.timeScale = 1;
|
||||
SceneManager.LoadScene(scene);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user