using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MetaMenu : MonoBehaviour { void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { SceneManager.LoadScene("MainMenu"); } if (Input.GetKeyDown(KeyCode.F)) { Screen.fullScreen = !Screen.fullScreen; } } }