> 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.5/api/csharp/yarn.unity/yarn.unity.samplerenderdetector.md).

# SampleRenderDetector

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

Inherits from `UnityEngine.MonoBehaviour`

## Summary

Detects if the render pipeline is different from the one the samples were created with, and warn you that things might look odd.

```csharp
public class SampleRenderDetector : MonoBehaviour
```

## Remarks

This component only exists to be added into the Yarn Spinner sample scenes.
