unity create material at runtome code example Example: create material at runtime unity Material mat = new Material(Shader.Find("Specular"));