One of my gameobjects has three materials. While I can assign a material to mainTexture through code, renderer.material.mainTexure, how do I access the other materials by code? Did I miss anything on the documentation?
There’s renderer.materials and renderer.sharedMaterials, both of which return material[ ].
–Eric