unity 代码拷贝材质球
//复制材质球
newMeshRenderer.materials[j].CopyPropertiesFromMaterial(materialList[j]);
//设置材质球Shader
newMeshRenderer.materials[j].shader = materialList[j].shader;
//复制材质球
newMeshRenderer.materials[j].CopyPropertiesFromMaterial(materialList[j]);
//设置材质球Shader
newMeshRenderer.materials[j].shader = materialList[j].shader;