Change material values of Unity 5 using C#

Hi everyone,

How can I change Metallic, Normal or Emission value through scripting in new Unity 5’s Material system?

Thanks,
Max

Thanks for your reply! This method works for legacy shaders, but not working on Unity 5’s PBR Materials.

really? I was under the impression all the shaders are pbr chasers now, given that the Standard Shader was converted? :face_with_spiral_eyes: