chore: clean up

This commit is contained in:
2025-05-17 15:16:30 +02:00
parent 0e70858ce9
commit b48e17882c
17 changed files with 147 additions and 30 deletions

View File

@ -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);
}