unity create new material 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);