public void StopSideQuest3() { pauseMenuReference.RemoveFromOngoingList(questType); pauseMenuReference.AddToCompletedList(questType); foreach (GameObject tempGameObjects in receivedElement) { tempGameObjects.SetActive(false); } quest3Pass = true; //QUEST PASSED }
IEnumerator StopSideQuest() { timerText.enabled = false; pauseMenuReference.RemoveFromOngoingList(questType); yield return(new WaitForSeconds(3f)); foreach (GameObject tempGameObjects in taskRelatedGameObjects) { tempGameObjects.SetActive(false); } }
IEnumerator StopSideQuest1() { timerText.enabled = false; pauseMenuReference.RemoveFromOngoingList(questType); yield return(new WaitForSeconds(3f)); foreach (GameObject tempGameObjects in taskRelatedGameObjects) { tempGameObjects.SetActive(false); } playerReference.GetComponent <PlayerController_Alex>().TurnOffPlayerParticle(); quest1Pass = true; //QUEST PASSED }