- Home /
Odd behavior with changing renderer.material.color
I want to change the color of one texture on runtime, so i went in with blender and separated the mesh by material. It worked for everything but the piece I want to change... But I realised that the other material was just a border around the material im trying to change so I went with it. When I call renderer.material.color = Color.black;
it flips the material order in the inspector and only changes the color of the border? What on Earth is going on?
Your answer
![](https://koobas.hobune.stream/wayback/20220613102311im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Changing two different objects renderer colour 1 Answer
Material doesn't have a color property '_Color' 4 Answers
Need material.color to revert. 3 Answers
Does Material.color, ParticleSystem.startcolor property clones/copies the material? 2 Answers
Changing the color at runtime is causing my material to look very different. 1 Answer