Files
uni/year3/semester1/CT3536: Games Programming/project/Assets/QuitGame.cs
2024-03-09 19:25:59 +00:00

12 lines
253 B
C#
Vendored

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// script to enable quitting the game from the main menu
public class QuitGame : MonoBehaviour
{
public void QuitGameApplication() {
Application.Quit();
}
}