# FindShaderByName(string)

> Override for customizing the behavior of the Shader.Find function.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
protected virtual Shader FindShaderByName(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

| Type                                                            | Description |
| --------------------------------------------------------------- | ----------- |
| [Shader](/engine/6000.5/script-reference/unityengine/shader.md) |             |
