public void SetCompleted(Quest quest) { status = QuestElementStatus.Complete; Highlighter.enabled = false; QuestStatusIcon.sprite = QuestOverviewUI.GetCompleteIcon(); HideObjectives(); ToggleIconActive(); }
public void SetComplete(QuestObjective objective) { status = QuestElementStatus.Complete; StatusIcon.sprite = QuestOverviewUI.GetCompleteIcon(); if (listenerAdded) { StatusIcon.GetComponent <Button>().onClick.RemoveListener(CompleteObjective); listenerAdded = false; } ToggleIconActive(); }