Class in Yarn.Unity
Inherits from DialogueViewBase
Handles playback of voice over AudioClip s referenced on YarnScript s.
public class VoiceOverPlaybackUnity : DialogueViewBaseThe 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 .
Field in
The amount of time to wait before starting playback of the line.
public float waitTimeBeforeLineStart = 0f;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;Field in
The fade out time when FinishCurrentLine is called.
public float fadeOutTimeOnLineFinish = 0.05f;Method in VoiceOverPlaybackUnity
Start playback of the associated voice over AudioClip of the given LocalizedLine .
public override void RunLine(LocalizedLine dialogueLine, Action onDialogueLineFinished)dialogueLine
Action onDialogueLineFinished
Method in
public override void OnLineStatusChanged(LocalizedLine dialogueLine)dialogueLine