> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.0/api/csharp/yarn.unity/yarn.unity.voiceoverplaybackunity.md).

# VoiceOverPlaybackUnity

Class in [Yarn.Unity](/2.0/api/csharp/yarn.unity.md)

Inherits from [`DialogueViewBase`](/2.0/api/csharp/yarn.unity/yarn.unity.dialogueviewbase.md)

## Summary

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

```csharp
public class VoiceOverPlaybackUnity : DialogueViewBase
```

## Fields

| Name                                                                                                                                                     | Description                                                                                                      |
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [fadeOutTimeOnLineFinish](/2.0/api/csharp/yarn.unity/yarn.unity.voiceoverplaybackunity/yarn.unity.voiceoverplaybackunity.fadeouttimeonlinefinish.md)     | The fade out time when `FinishCurrentLine` is called.                                                            |
| [waitTimeAfterLineComplete](/2.0/api/csharp/yarn.unity/yarn.unity.voiceoverplaybackunity/yarn.unity.voiceoverplaybackunity.waittimeafterlinecomplete.md) | The amount of time after playback has completed before this view reports that it's finished delivering the line. |
| [waitTimeBeforeLineStart](/2.0/api/csharp/yarn.unity/yarn.unity.voiceoverplaybackunity/yarn.unity.voiceoverplaybackunity.waittimebeforelinestart.md)     | The amount of time to wait before starting playback of the line.                                                 |

## Methods

| Name                                                                                                                                                        | Description                                                                                                                                    |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| [OnLineStatusChanged(LocalizedLine)](/2.0/api/csharp/yarn.unity/yarn.unity.voiceoverplaybackunity/yarn.unity.voiceoverplaybackunity.onlinestatuschanged.md) |                                                                                                                                                |
| [RunLine(LocalizedLine,Action)](/2.0/api/csharp/yarn.unity/yarn.unity.voiceoverplaybackunity/yarn.unity.voiceoverplaybackunity.runline.md)                  | Start playback of the associated voice over `AudioClip` of the given [LocalizedLine](/2.0/api/csharp/yarn.unity/yarn.unity.localizedline.md) . |
