15 lines
275 B
C#
15 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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|