I’m assuming this is fairly trivial, but I’ve searched the forums and the manual and tried every combination of keypresses I can think of with no avail.
I have about 300 objects that I need to texture with the same texture. It doesn’t seem like I should have to drag a texture onto each object individually, is there a method to select all the objects and just apply a texture to them all at the same time? I’ve tried everything I can think of.
Does anyone have the solution?
Thanks in advance!
Hello!
you can create a script of each object and at start just assign the texture.
Then when the app is running, just copy the gameObjects that are in your scene
Stop the app, delete the old game Objects
paste the copied gameObjects.
that should do it
I know its a really hax approach, and I’m not sure it will work, but you can always try it out with 1 ojbect and check if it works 
hope it helps!
This is a good job for an editor script. Create a new C# script and call it CopyMaterial and put it in Assets/Editor/. Put this in the script:
using UnityEngine;
using UnityEditor;
public class CopyMaterial : ScriptableObject {
static Material[] copiedMaterials;
[MenuItem ("Edit/Copy Material")]
static void MenuCopyMaterial() {
copiedMaterials = Selection.activeTransform.renderer.sharedMaterials;
}
[MenuItem ("Edit/Copy Material", true)]
static bool ValidateMenuCopyMaterial() {
return Selection.activeTransform != null
Selection.activeTransform.renderer != null;
}
[MenuItem ("Edit/Paste Material")]
static void MenuPasteMaterial() {
foreach (Transform selected in Selection.transforms) {
if (selected.renderer) {
selected.renderer.sharedMaterials = copiedMaterials;
}
}
}
[MenuItem ("Edit/Paste Material", true)]
static bool ValidateMenuPasteMaterial() {
return Selection.activeTransform != null;
}
}
Now you will be able to copy and paste materials using the edit menu. You can select as many objects as you want, and they will all take on the material when you paste.
Oh now that is just clever! Thank you so much you have saved me hours of work 