DialogueUI.onLineEnd Field

A UnityEvent that is called when a line has finished displaying, and should be removed from the screen.

public UnityEvent onLineEnd


This method is called after the MarkLineComplete() has been called. Use this method to dismiss the line’s UI elements.

After this method is called, the next piece of dialogue content will be presented, or the dialogue will end.


Defined in Unity/Assets/YarnSpinner/Scripts/DialogueUI.cs, line 189.