summaryrefslogtreecommitdiff
path: root/GameCode/MainMenu.cs
diff options
context:
space:
mode:
Diffstat (limited to 'GameCode/MainMenu.cs')
-rw-r--r--GameCode/MainMenu.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/GameCode/MainMenu.cs b/GameCode/MainMenu.cs
new file mode 100644
index 0000000..1028d13
--- /dev/null
+++ b/GameCode/MainMenu.cs
@@ -0,0 +1,16 @@
+using UnityEngine;
+
+public class MainMenu : MonoBehaviour
+{
+
+ void Awake()
+ {
+ Screen.fullScreen = false;
+ Screen.SetResolution(1920, 1080, false);
+ }
+
+ public void QuitGame()
+ {
+ Application.Quit();
+ }
+}