using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameOverUI : MonoBehaviour { public void RestartGame() { SceneManager.LoadScene("LVL1"); } public void GoToMainMenu() { SceneManager.LoadScene("MainMenu"); } public void QuitGame() { Debug.Log("Spiel beendet! (Funktioniert nur in einer Build-Version)"); Application.Quit(); } }