public void StopSideQuest3()
    {
        pauseMenuReference.RemoveFromOngoingList(questType);
        pauseMenuReference.AddToCompletedList(questType);

        foreach (GameObject tempGameObjects in receivedElement)
        {
            tempGameObjects.SetActive(false);
        }
        quest3Pass = true; //QUEST PASSED
    }
    public void QuestConditionCheck()
    {
        objectsNumber--;

        if (objectsNumber <= 0)
        {
            finishedTask = true;

            pauseMenuReference.AddToCompletedList(questType);
            StartCoroutine(StopSideQuest());
        }
    }
    public void Quest1ConditionCheck()
    {
        objectsNumber--;

        if (objectsNumber <= 0)
        {
            finishedTask = true;

            pauseMenuReference.AddToCompletedList(questType);
            StartCoroutine(StopSideQuest1());
        }
        else
        {
            StartCoroutine(StopPlayerParticle());
        }

        this.transform.parent.GetComponent <dialogueTrigger>().taskDone = finishedTask;
    }
    public void TaskCompleted()
    {
        TurnOffTaskObjects();

        pauseMenuReference.AddToCompletedList(questType);
    }