RunLineAsync(LocalizedLine,LineCancellationToken)

Method in VoiceOverView

Summary

Begins playing the associated audio for the specified line.

public override async YarnTask RunLineAsync(LocalizedLine dialogueLine, LineCancellationToken lineCancellationToken)

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

line

The line to present.

token

A LineCancellationToken that represents whether the dialogue view should hurry it its presentation of the line, or stop showing the current line.

Yarn.Unity.LineCancellationToken lineCancellationToken

See Also

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.