> 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.2/api/csharp/yarn.unity/yarn.unity.yarnparameterattribute/yarn.unity.yarnparameterattribute.injector.md).

# Injector

Property in [YarnParameterAttribute](/2.2/api/csharp/yarn.unity/yarn.unity.yarnparameterattribute.md)

## Summary

The custom injector for this parameter.

```csharp
public string Injector { get; set; }
```

## Remarks

Similar to [Injector](/2.2/api/csharp/yarn.unity/yarn.unity.yarncommandattribute/yarn.unity.yarncommandattribute.injector.md) .

If this is not defined on a parameter, or if the injector is not static or doesn't exist, or returns a type that is not assignable to the parameter's type, then it will be use the default method, which is to search for the game object name, and search for the target component type on that object.
