aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nGJ2019/Assets/Scripts/TitleScreen.cs')
-rw-r--r--nGJ2019/Assets/Scripts/TitleScreen.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/nGJ2019/Assets/Scripts/TitleScreen.cs b/nGJ2019/Assets/Scripts/TitleScreen.cs
deleted file mode 100644
index 00875da..0000000
--- a/nGJ2019/Assets/Scripts/TitleScreen.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.EventSystems;
-using UnityEngine.SceneManagement;
-
-public class TitleScreen : MonoBehaviour
-{
- void Update()
- {
- // quit application when back button is clicked
- if (Input.GetKeyDown(KeyCode.Escape))
- Application.Quit();
- }
-
- public void OpenTutorial()
- {
- SceneManager.LoadScene("Tutorial");
- }
-
- public void OpenLevelOne()
- {
- SceneManager.LoadScene("Level1");
- }
-
- public void Quit()
- {
- Application.Quit();
- }
-}