-
Notifications
You must be signed in to change notification settings - Fork 0
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
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.
- Like the nameTextField, but for an Entry's StoryText.
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.