Code: Select all
protected virtual Quest GetFirstQuest()
{
var hasQuest = (questJournal != null && questJournal.questList != null && questJournal.questList.Count > 0);
return hasQuest ? questJournal.questList[0] : null;
}
The issue I'm running into is that I can't add my Quest Journal UI prefab to my QuestMachineConfiguration component for some reason. In fact, I can't remove and re-add the Quest Journal UI object even if I don't change the gameobject/prefab at all. This may be caused a hole in my understanding of Unity.