Yarn Spinner
2.2 (Current)
Search
⌃K
Links

RunLine(LocalizedLine,Action)

Method in VoiceOverView​

Summary

Begins playing the associated audio for the specified line.
public override void RunLine(LocalizedLine dialogueLine, Action onDialogueLineFinished)

Remarks

This method is not intended to be called from your code. Instead, the DialogueRunner class will call it at the appropriate time.

Parameters

Name
Description
​Yarn.Unity.LocalizedLine dialogueLine
The content of the line that should be presented to the user.
Action onDialogueLineFinished
The method that should be called after the line has finished being presented.

See Also