DialogueRunner.StringUnityEvent that is called
when the visible part of the line’s localised text changes.
public DialogueRunner.StringUnityEvent onLineUpdate
string parameter that this event receives is
the text that should be displayed to the user. Use this method
to display line text to the user.
DialogueUI class gradually reveals the
localised text of the
Line, at a rate of
textSpeed seconds per character.
onLineUpdate will be called multiple times, each time
with more text; the final call to
will have the entire text of the line.
MarkLineComplete() is called before the line has
finished displaying, which indicates that the user has
requested that the Dialogue UI skip to the end of the line,
onLineUpdate will be called once more, to display
the entire text.
will be called just once, to display the entire text all at
After the final call to
onLineFinishDisplaying will be called to indicate that
the line has finished appearing.
textSpeed: How quickly to show the text, in seconds per character
Defined in Unity/Assets/YarnSpinner/Scripts/DialogueUI.cs, line 174.