LineCancellationToken.NextLineToken

Property in LineCancellationToken

WARNING

This property is obsolete and may be removed from a future version of Yarn Spinner: Please use NextContentToken instead.

Summary

A System.Threading.CancellationToken that becomes cancelled when a DialogueRunner wishes all dialogue presenters to stop running the current line. For example, on-screen UI should be dismissed, and any ongoing audio playback should be stopped.

public readonly CancellationToken NextLineToken { get }