VoiceOverView
Class in Yarn.Unity​
Inherits from DialogueViewBase​

Summary

A subclass of DialogueViewBase that plays voice-over AudioClip s for lines of dialogue.
public class VoiceOverView : DialogueViewBase

Remarks

This class plays audio clip assets that are provided by an AudioLineProvider . To use a VoiceOverView in your game, your DialogueRunner must be configured to use an AudioLineProvider , and your Yarn projects must be configured to use voice-over audio assets. For more information, see Localization and Assets .

Fields

Name
Description
​audioSource​
The AudioSource that this voice over view will play its audio from.
The fade out time when UserRequestedViewAdvancement() is called.
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
Ends any existing playback, and reports that the line has finished dismissing.
Interrupts the playback of the specified line, and quickly fades the playback to silent.
Begins playing the associated audio for the specified line.
Signals to this dialogue view that the user would like to skip playback.

See Also

Export as PDF
Copy link
Edit on GitHub
On this page
Summary
Remarks
Fields
Methods
See Also