- Home /
Changable clothing
Hey, I have no idea where to start with this but I made a character for my Unity game in Blender. The problem is, I want part of its clothing to change colour when certain events occur. What would the best way to do this be?
Thanks for your help
Comment
You can access that materials color and change it there.
renderer.material.color=newColor;
or
renderer.materials[matNumber].color=newColor;
depending on how many materials are on the object itself.