Exemple #1
0
 public void Setup(QuestStatus status)
 {
     this.status         = status;
     questTitle.text     = status.GetQuest().Title();
     questProgress.text  = status.GetCompletedObjectives().Count + "/" + status.GetQuest().Objectives().Count;
     questTitle.color    = (status.IsComplete()) ? completedColor : activeColor;
     questProgress.color = (status.IsComplete()) ? completedColor : activeColor;
 }