Method AssignNewShaderToMaterial
AssignNewShaderToMaterial(Material, Shader, Shader)
Assigns a new shader to the material.
Declaration
public override void AssignNewShaderToMaterial(Material material, Shader oldShader, Shader newShader)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material to use. |
Shader | oldShader | The old shader. |
Shader | newShader | The new shader to replace. |