FindShaderByName(string)
Override for customizing the behavior of the Shader.Find function.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
protected virtual Shader FindShaderByName(string name)
Parameters
The name of the shader to find.
Returns
Type | Description |
|---|---|
| Shader | The shader that matches the specified name, or null if no shader matches. |