Hello,
I have a model that I made in Maya, and within the renderer I can see all my materials applied to this particular model listed in an array:
[16397-screen+shot+2013-10-10+at+15.54.21.png|16397]
I want to be able to change them independently via JS, how would I access them? I thought I could do it like this:
gameObject.renderer.material[1] = myMaterial;
But I get a slicing error in the console, any ideas how I can achieve this?
Thanks