Skip to content

NarrativeLog_ClassAPI

CG-Tespy edited this page Jul 27, 2019 · 1 revision

Handles keeping track of the narrative. Inherits from MonoBehaviour.

Namespace: Fungus.NarrativeLogSystem

Public Functions

virtual void AddNewEntry()

  • Creates and registers an entry based on whatever the active Say Dialog is, if there is one.
virtual void AddNewEntry(Entry newEntry)
  • Registers the passed entry under this NarrativeLog. For stability, use this instead of adding to the public Entries list directly.
virtual void AddEntries(IList<Entry> entries)
  • Registers the passed list of entries under this NarrativeLog.
virtual void Clear()
  • Clears all the entries from this NarrativeLog.

Public Properties

virtual List<Entry> Entries

  • Holds the entries that the log generates as Say Dialogs are executed. Best not add or remove entries to it directly; the system largely relies on its signals to work properly.

Clone this wiki locally