How do I change it? I’ve search everywhere, but can only find examples that give you the length which would be the size.
Help Please
Example of size:
object.AddComponent("MeshRenderer");
print ("I'm using " + object.renderer.materials.Length + " material(s)");
How do I change the size so I can add materials to my submesh