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 ToLevel1() { SceneManager.LoadScene("Tutorial"); } public void Quit() { Application.Quit(); } }