Changing Prebuild shader for other Prebuild shader, runtime

If I’ve created an object with a material with has a A prebuild shader assigned, and then on runtime, I want to change it to B prebuild shaded (just like in editor but in runtime)

Which will be code?

Thanks in advance.

You can set the material’s shader property to change shaders. There is an example on the manual page showing how to do this in conjunction with the Shader.Find function.

Great!, thanks.