VoiceOverView

Class in Yarn.Unity

Inherits from AsyncDialogueViewBase

Summary

A subclass of AsyncDialogueViewBase that plays voice-over UnityEngine.AudioClip s for lines of dialogue.

public class VoiceOverView : AsyncDialogueViewBase

Fields

Name
Description

The UnityEngine.AudioSource that this voice over view will play its audio from.

The dialogue runner to notify of line completion.

If true , the voice over view will request that the dialogue runner proceed to the next line when audio for the line has finished playing.

The fade out time when the line is interrupted during playback.

The amount of time after playback has completed before this view reports that it's finished delivering the line.

The amount of time to wait before starting playback of the line.

Methods

Name
Description

Begins playing the associated audio for the specified line.

See Also

  • DialogueViewBase: Implements the Yarn Spinner 2 callback-based API for dialogue views using Yarn Spinner 3.

Last updated

Was this helpful?