Files
SimUL/Assets/Brick Project Studio/Apartment Kit/Scenes/Quitgame.cs
T
Vladimir Koshevarov 6388763d98 Added new assets
2023-02-20 19:02:00 +02:00

24 lines
465 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SojaExiles
{
public class Quitgame : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.Escape))
{
Application.Quit();
}
}
}
}