private void QuestUISelected(QuestUI questUI) { if (selectedQuest != null) { selectedQuest.SetDeslected(); } questUI.SetSelected(); selectedQuest = questUI; questTitle.text = questUI.questTracker.quest.name; questDescription.text = questUI.questTracker.quest.description; updateGoalText();; questDetailContainer.gameObject.SetActive(true); }