create material unity c# code example
Example: new material unity
Material mat = public Material(Shader shader);
Material mat = public Material(Material materialToCopy);
Material mat = public Material(Shader shader);
Material mat = public Material(Material materialToCopy);