Content-Length: 18469 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/MaterialEditor.SetShader.html
| Parameter | Description |
|---|---|
| shader | Shader to set. |
| registerUndo | Should undo be registered. |
Set the shader of the material.
Automatically handles internal inspector rebuilding.
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/MaterialEditor.SetShader.html
Alternative Proxies: