A way to put a multiple selection in a layer at once ???????

hi folks !!! I’m creating a big open space world without the unity Terrain. I’d like to Cull the vegetation according to there nature(big / small …). To do this i already know i have to put the game objects in a layer that the camera would cull with the distance (clipping…) But i’ve got many differents plants and all of them have been instanciated in 3DS Max. What is the way to select all the plants in the hierarchy panel and assign them in a layer at once ???
I know it’s a big question… But it would really help !!!.. the frame rate is really low about 7 / 8 fps !!! it’s really necessary to cull !!! And i’ve tried the fog hich is a way to optimize the frame rate and i have the inverse effect : 7 frames slower than without fog !!! It’s a shame !!!
Please help.
thanks in advance to all of you.

I put it on the wiki since it might come in handy for others:

http://www.unifycommunity.com/wiki/index.php?title=MultipleObjectsToLayer

Let me know if you have any questions.

thanks a lot !!!
I think it 'll really help for my purpose !! hope i’ll find the code for the camera culling according to distance…
Thanks again.

Hi, Sommer
is there any equivalent of your script for change selection tag , and change selection to static ?

I realize this is an old thread, but for anyone who ends up here through searching, note that Unity 3.5 does support multi-object editing natively so you cn change a property on multiple selected objects at once without having to create any script or anything.