Question by
Mistic_Watermelon · Jan 09, 2020 at 04:50 PM ·
materialsskinnedmeshrenderercolorsskinned mesh renderer
Skinned mesh problem
Hello everyone i have a problem with Skinned mesh renderer, so i can't attach material to it, please help me.
public void RandomizeZombies()
{
for (int i = 0; 5 < i; i++)
{
Zombies[i].GetComponent<Renderer>().materials[3] = red;
}
}
Comment
Your answer
Follow this Question
Related Questions
import blendshape from maya 2 Answers
unity C# Errors `UnityEngine.Material' does not contain a definition for `SetColorArray' 0 Answers
Change material in runtime 2 Answers
Material.SetColor only works in Start function? 1 Answer
how to combine SkinnedMeshRendera with part of same materials and renmain animation 0 Answers