Dark_Matter/Assets/Scripts/Spielwelt/GameOverScreen.cs

18 lines
313 B
C#
Raw Normal View History

2025-03-14 15:09:56 +01:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameOverScreen : MonoBehaviour
{
public void RestartGame()
{
SceneManager.LoadScene(2);
}
public void Back2MainMenue()
{
SceneManager.LoadScene(1);
}
}