Simpler way to paste a texture on lots of Plane faces? I recently got started with Blender and Unity , and although I know this isn't a 'Unity Stack Exchange', I'm relatively new to all this stuff, and I'm extremely new to art and assets.

Basically, I have two questions:


When I tried to make a bigger plane/floor, I started by duplicating the small plane to make two small planes, duplicating those two to four etc. until eventually I had a big sized plane made up of loads of small planes. So when I export them to Unity, I just have massive amounts of planes without the texture I wanted them to have. So I was wondering if there was an easier way to put a texture on loads of different planes.


And


To just skip this whole mundane and long process, is there a way to get a texture and duplicate loads next to each other without the hassle of right clicking every plane then doing shift+d and moving them next to each other and repeat.


I'm also using c++, so if there's a code that you guys know that will fix one or both of these issues, I'd be grateful. Thanks.
You have several options depending on the result you want, you can scale one plane to any size you want, then either the texture scales up with it, or you setup the texture to repeat over the plane.

You can use two array modifiers to duplicate one piece of mesh in two directions. This will duplicate the same piece repeatedly. Then you can apply the modifiers to turn them into a real mesh object, which is an option during export if you only want it that way in unity.

If you want each piece as a separate item in unity, then apply the array modifers, then in edit mode use P->By Loose Parts to break them into multiple objects and &#9096; Ctrl&#9095; Alt&#8679; ShiftC->Origin to Geometry to put the object centres in the right place.

If you have created multiple planes, select them all A and press &#9096; CtrlL->Material to set them to use the same material.

To automate tasks in blender, we can use python v3 which is also used to create addons. The API reference is here as well as an introduction in the manual. You can also find plenty of scripts around this site for examples.

And if you need help with unity, they have their own site