# RegisterMarkerProcessor(string,IAttributeMarkerProcessor)

Method in [UnityLocalisedLineProvider](https://docs.yarnspinner.dev/api/csharp/yarn.unity.unitylocalization/yarn.unity.unitylocalization.unitylocalisedlineprovider)

## Summary

Adds a new marker processor to the line provider.

```csharp
public override void RegisterMarkerProcessor(string attributeName, IAttributeMarkerProcessor markerProcessor)
```

## Parameters

| Name                                                                                                                                   | Description                                           |
| -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| `string` attributeName                                                                                                                 | The name of the markers to use `markerProcessor` for. |
| [IAttributeMarkerProcessor](https://docs.yarnspinner.dev/api/csharp/yarn.markup/yarn.markup.iattributemarkerprocessor) markerProcessor | The marker processor to add.                          |
