/// <summary> /// OnClick() function that disables the endLevelMenu GameObject, enables the scoreMenu GameObject, /// and retrieves the player's score from the ObjectiveManager. /// </summary> public void YesEndLevel() { endLevelMenu.SetActive(false); scoreText.text = "Score: " + objManager.GetScore().ToString(); scoreMenu.SetActive(true); }