private void TaskAgree() { DeactivateDialogue(); DeactivateYesNoPanel(); TurnOnTaskObjects(); pauseMenuReference.AddToOngoingList(questType); }
public void StartSideQuest3() { pauseMenuReference.AddToOngoingList(questType); foreach (GameObject tempGameObjects in receivedElement) { tempGameObjects.SetActive(true); } }
public void StartSideQuest1() { currentTimer = maxTimer; if (!pauseMenuReference.alreadyHadThisTask[questType]) { pauseMenuReference.AddToOngoingList(questType); foreach (GameObject tempGameObjects in taskRelatedGameObjects) { tempGameObjects.SetActive(true); } UpdateTimerText(); } }
public void StartSideQuest2() { if (!pauseMenuReference.alreadyHadThisTask[questType]) { pauseMenuReference.AddToOngoingList(questType); taskRelatedGameObjects[1].transform.SetParent(taskReceiveNPC.transform, false); taskRelatedGameObjects[1].transform.localPosition = new Vector3(0, 0, 0); for (int counter = 0; counter < taskRelatedGameObjects.Length; counter++) { taskRelatedGameObjects[counter].SetActive(true); taskRelatedGameObjects[counter].transform.SetParent(parentNPC.transform, true); } } }
private void TaskAgree() { StartSideQuest(); pauseMenuReference.AddToOngoingList(questType); }