# showCharacterNameInLine

Field in [LinePresenter](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.linepresenter)

## Summary

Controls whether the [lineText](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.linepresenter/yarn.unity.linepresenter.linetext) object will show the character name present in the line or not.

```csharp
public bool showCharacterNameInLine = true;
```

## Remarks

{% hint style="info" %}
This value is only used if [characterNameText](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.linepresenter/yarn.unity.linepresenter.characternametext) is `null`.
{% endhint %}

If this value is `true`, any character names present in a line will be shown in the [lineText](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.linepresenter/yarn.unity.linepresenter.linetext) object.

If this value is `false`, character names will not be shown in the [lineText](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.linepresenter/yarn.unity.linepresenter.linetext) object.
