DialogueUI.onLineFinishDisplaying Field
A UnityEvent
that is called
when a line has finished being delivered.
public UnityEvent onLineFinishDisplaying
Remarks
This method is called after onLineUpdate
. Use
this method to display UI elements like a “continue” button.
When this method has been called, the Dialogue UI will wait for
the MarkLineComplete()
method to be called, which
signals that the line should be dismissed.
See Also
-
onLineUpdate
: ADialogueRunner.StringUnityEvent
that is called when the visible part of the line’s localised text changes. -
MarkLineComplete()
: Signals that the user has finished with a line, or wishes to skip to the end of the current line.
Source
Defined in Unity/Assets/YarnSpinner/Scripts/DialogueUI.cs, line 140.