Version: 2021.3
언어: 한국어
public void SetShader (Shader shader);
public void SetShader (Shader newShader, bool registerUndo);

파라미터

shader Shader to set.
registerUndo Should undo be registered.

설명

Set the shader of the material.

Automatically handles internal inspector rebuilding.