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