All pages
Powered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

fadeOutTimeOnLineFinish

Field in

The fade out time when FinishCurrentLine is called.

public float fadeOutTimeOnLineFinish = 0.05f;

Summary

VoiceOverPlaybackUnity

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
Name
Description

OnLineStatusChanged(LocalizedLine)

Method in VoiceOverPlaybackUnity

Summary

public override void OnLineStatusChanged(LocalizedLine dialogueLine)

Parameters

Name
Description

dialogueLine

RunLine(LocalizedLine,Action)

Method in

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

Name
Description
Yarn.Unity.LocalizedLine
public override void RunLine(LocalizedLine dialogueLine, Action onDialogueLineFinished)

dialogueLine

Summary

Parameters

VoiceOverPlaybackUnity
LocalizedLine

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

Action onDialogueLineFinished

Yarn.Unity.LocalizedLine

waitTimeBeforeLineStart

Field in

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

public float waitTimeBeforeLineStart = 0f;

Summary

VoiceOverPlaybackUnity