diff options
Diffstat (limited to 'Assets/Scripts/LevelController.cs')
-rw-r--r-- | Assets/Scripts/LevelController.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Assets/Scripts/LevelController.cs b/Assets/Scripts/LevelController.cs index 1b8bd47..7113fe8 100644 --- a/Assets/Scripts/LevelController.cs +++ b/Assets/Scripts/LevelController.cs @@ -16,6 +16,17 @@ public class LevelController : MonoBehaviour SceneManager.LoadScene("Jungle"); } + public void QuitGame() + { + Application.Quit(); + } + + + public static void LoadMenu() + { + SceneManager.LoadScene("Start Scene"); + } + public void ResetLevel() { //Destroy |