cesarureno's answer didn't work for me. just this one:
GetComponent().materials[0].color = Color.Black;
Trending Articles
More Pages to Explore .....