1
Fork 0
slime-blood-and-pain/Assets/Scripts/GameOver.cs

14 lines
275 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameOver : MonoBehaviour
{
void Update()
{
if(Input.anyKeyDown) {
SceneManager.LoadScene("Game");
}
}
}