public void SetInProgress(Quest quest) { status = QuestElementStatus.InProgress; Highlighter.enabled = true; QuestStatusIcon.sprite = QuestOverviewUI.GetInProgressIcon(); ShowObjectives(); ToggleIconActive(); UpdateDisplay(); }
public void SetInProgress(QuestObjective objective) { status = QuestElementStatus.InProgress; StatusIcon.sprite = QuestOverviewUI.GetInProgressIcon(); if (!listenerAdded) { StatusIcon.GetComponent <Button>().onClick.AddListener(CompleteObjective); listenerAdded = true; } ToggleIconActive(); SetInteractiveTrue(null); }