-
Notifications
You must be signed in to change notification settings - Fork 0
How It Works
CG-Tespy edited this page Jul 27, 2019
·
1 revision
Every time a Say command finishes executing, the Narrative Log registers an entry containing the text of said command. Then, the UI responds by creating a slot to hold the entry's text, based on the prefab that the NarrativeLogUI component was given.
By default, you can scroll through the log's UI by holding left-click on it and moving the mouse vertically.
You can improve it in any way you like! Just make sure that the core components of your NarrativeLog UI are set up properly. Like so:
- NarrativeLogEntryDisplay: Make sure it has references to the displays within it that it may need to update.
- NarrativeLog: Attached to a game object (preferably the root) in your prefab.
- NarrativeLogUI: Also preferably attached to the prefab's root game object. Needs references to the NarrativeLog, the prefab for the entry display, and the object meant to hold the entry displays.
The API documentation and the source code can help you with that :) Also feel free to ask questions by raising an issue on the repo.