Пример #1
0
        public void Setup(QuestStatus status)
        {
            _title.text = status.Quest.name;
            foreach (Quest.Objective objective in status.Quest.Objectives)
            {
                ObjectiveUI objectiveInstance = Instantiate(_objectivePrefab, _objectivesContainer);
                objectiveInstance.Setup(objective.description, status.HasCleared(objective.reference));
            }

            _rewards.text = GetRewardsString(status);
        }