All pages
Powered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

waitTimeAfterLineComplete

Field in VoiceOverPlaybackUnity

Summary

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

public float waitTimeAfterLineComplete = 0f;

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

Methods

Name
Description

fadeOutTimeOnLineFinish

The fade out time when FinishCurrentLine is called.

waitTimeAfterLineComplete

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

waitTimeBeforeLineStart

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

OnLineStatusChanged(LocalizedLine)

RunLine(LocalizedLine,Action)

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

OnLineStatusChanged(LocalizedLine)

Method in VoiceOverPlaybackUnity

Summary

public override void OnLineStatusChanged(LocalizedLine dialogueLine)

Parameters

Name
Description

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

Yarn.Unity.LocalizedLine dialogueLine

Yarn.Unity.LocalizedLine dialogueLine

Action onDialogueLineFinished

waitTimeBeforeLineStart

Field in VoiceOverPlaybackUnity

Summary

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

public float waitTimeBeforeLineStart = 0f;

fadeOutTimeOnLineFinish

Field in VoiceOverPlaybackUnity

Summary

The fade out time when FinishCurrentLine is called.

public float fadeOutTimeOnLineFinish = 0.05f;