예제 #1
0
    private bool CheckCompletedQuests(DialogueData dialogue)
    {
        bool areQuestsComplete = true;

        foreach (Quest quest in dialogue.questsCompleted)
        {
            areQuestsComplete &= ActiveQuests.IsQuestComplete(quest.name);
        }
        return(areQuestsComplete);
    }