Skip to content

NarrativeLogEntryDisplay_ClassAPI

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

A UI component meant to display an entry within the NarrativeLog. Inherits from MonoBehaviour.

Namespace: Fungus.NarrativeLogSystem

Fields in the Inspector

protected Text nameTextField

  • A reference to the text field that it displays the name text in. Must be set in the Inspector, or already-set in a prefab.
protected Text storyTextField
  • Like the nameTextField, but for an Entry's StoryText.

Public Properties

virtual Entry ToDisplay

  • Readable: yes
  • Writable: yes
  • As the name suggests, it's the Entry object this UI component is supposed to show.
  • Whenever this is assigned a new value, the story and name text fields change appropriately. If the value is null, said fields are set to empty strings.

Clone this wiki locally