All pages
Powered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

VoiceOverPlaybackUnity

Class in Yarn.Unity

Inherits from DialogueViewBase

Summary

Handles playback of voice over AudioClip s referenced on YarnScript s.

public class VoiceOverPlaybackUnity : DialogueViewBase

Fields

Name
Description
Name
Description

The fade out time when FinishCurrentLine 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.

Start playback of the associated voice over AudioClip of the given .

Methods

fadeOutTimeOnLineFinish
waitTimeAfterLineComplete
waitTimeBeforeLineStart
OnLineStatusChanged(LocalizedLine)
RunLine(LocalizedLine,Action)
LocalizedLine

waitTimeBeforeLineStart

Field in

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

public float waitTimeBeforeLineStart = 0f;

Summary

VoiceOverPlaybackUnity

waitTimeAfterLineComplete

Field in

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

public float waitTimeAfterLineComplete = 0f;

Summary

VoiceOverPlaybackUnity

fadeOutTimeOnLineFinish

Field in

The fade out time when FinishCurrentLine is called.

public float fadeOutTimeOnLineFinish = 0.05f;

Summary

VoiceOverPlaybackUnity

RunLine(LocalizedLine,Action)

Method in VoiceOverPlaybackUnity

Summary

Start playback of the associated voice over AudioClip of the given LocalizedLine .

public override void RunLine(LocalizedLine dialogueLine, Action onDialogueLineFinished)

Parameters

Name
Description

dialogueLine

Action onDialogueLineFinished

Yarn.Unity.LocalizedLine

OnLineStatusChanged(LocalizedLine)

Method in

Name
Description
public override void OnLineStatusChanged(LocalizedLine dialogueLine)

dialogueLine

Summary

Parameters

VoiceOverPlaybackUnity
Yarn.Unity.LocalizedLine