void Update() { if (Input.GetKey(KeyCode.Escape)) { // Debug.Log("exited game"); exit.quitGame(); } }