Shader.Find

static Shader Find(string shaderId)

Looks for a Shader asset that’s already loaded, matching the given id! Unless the id has been set manually, the id will be the same as the shader’s name provided in the metadata.

   
string shaderId For shaders loaded from file, this’ll be the shader’s metadata name!
RETURNS: Shader Link to a shader asset!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!