summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Quit.cs
blob: d53343e9fca31818d4cee123f539dba558967240 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using UnityEngine;

public class Quit : MonoBehaviour
{
    // Update is called once per frame
    void Update()
    {
        if (Input.GetKey("escape"))
        {
            Application.Quit();
        }       
        
    }
}