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

15 lines
275 B
C#
Raw Permalink Normal View History

2019-04-29 17:53:45 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameOver : MonoBehaviour
{
void Update()
{
if(Input.anyKeyDown) {
SceneManager.LoadScene("Game");
}
}
}