# OnLineStatusChanged(LocalizedLine)

Method in [DialogueViewBase](https://docs.yarnspinner.dev/2.0/api/csharp/yarn.unity/yarn.unity.dialogueviewbase)

## Summary

Called by the DialogueRunner to indicate that the line that this view is delivering has changed state.

```csharp
public virtual void OnLineStatusChanged(LocalizedLine dialogueLine)
```

## Remarks

Subclasses of [DialogueViewBase](https://docs.yarnspinner.dev/2.0/api/csharp/yarn.unity/yarn.unity.dialogueviewbase) should override this method to be notified when a line has become interrupted, and when the line has finished being delivered by all views.

The default implementation does nothing.

## Parameters

| Name                                                                                                                     | Description                                                                                                                  |
| ------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
| [Yarn.Unity.LocalizedLine](https://docs.yarnspinner.dev/2.0/api/csharp/yarn.unity/yarn.unity.localizedline) dialogueLine | The [LocalizedLine](https://docs.yarnspinner.dev/2.0/api/csharp/yarn.unity/yarn.unity.localizedline) that has changed state. |

## See Also

* [LineStatus](https://github.com/YarnSpinnerTool/YSDocs/blob/versions/2.0/api/csharp/yarn.unity.linestatus.md): The presentation status of a [LocalizedLine](https://docs.yarnspinner.dev/2.0/api/csharp/yarn.unity/yarn.unity.localizedline) .
