Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FindShaderByName(string)

Override for customizing the behavior of the Shader.Find function.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
protected virtual Shader FindShaderByName(string name)

Parameters

name

The name of the shader to find.

Returns

Type

Description

ShaderThe shader that matches the specified name, or null if no shader matches.