public void Show(NarrativeSegment segment)
 {
     DialogMessage = segment.description;
     DialogSprite  = segment.sprite;
     DialogVO      = segment.vo;
     if (!SegmentsSeen.Contains(segment))
     {
         SegmentsSeen.Add(segment);
         InvestigationProgress = SegmentsSeen.Count;
         OnSegmentFound?.Invoke(InvestigationProgress, InvestigationGoal);
     }
     DialogPanel.SetActive(true);
 }
 public void FindSegment(NarrativeSegment segment)
 {
     ProgressSegments[segment.index].found = true;
     CheckFoundStatus();
 }
Beispiel #3
0
 public void FindSegment(NarrativeSegment segment)
 {
     NarrativeManager.FindSegment(segment);
 }
Beispiel #4
0
 public void Show(NarrativeSegment segment)
 {
     NarrativeManager.Show(segment);
 }
Beispiel #5
0
 public void Initialize(NarrativeSegment data)
 {
     title.text       = data.title;
     description.text = data.description;
 }