public void EndDungeon() { if (endQuest) { StartCoroutine(questComplete()); return; // EndQuest(); // change to IENumerator that says congrats on finishing quest } camera = FindObjectOfType <CamManager>(); // SceneManager.LoadScene("Map"); camera.switchMap(); }