- Home /
Answer by duck · Mar 17, 2010 at 12:57 PM
Yes there is, via Editor Scripting.
Generally in the Unity Editor, if you want to "mass-do-something" you need an editor script to provide that functionality.
Edit:
There is an editor script to assign materials to objects, but not - as far as I can see - to assign shaders to materials.
The materials-to-objects script can be found here on the Wiki - along with a whole load of other very useful Editor Scripts which extend the functionality of the Editor. Perhaps one of them could be modified to fit your needs.
(I'm looking further into this because it would be useful for me too right now)
Your answer
Follow this Question
Related Questions
Alpha texture overlaying opaque texture, both with colors? 0 Answers
Simple Color Shader for 3D Models 0 Answers
What are the difference between between Unlit/color and Sprite/default material shader? 0 Answers
Material doesn't have a color property '_Color' 4 Answers
Layered Texture not working properly 0 Answers