InterruptLine(LocalizedLine,Action)

Method in VoiceOverView

Summary

Interrupts the playback of the specified line, and quickly fades the playback to silent.

public override void InterruptLine(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

The current line that is being presented.

Action onDialogueLineFinished

The method that should be called after the line has finished being presented.

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.