- Home /
Question by
Tom McLean · Sep 26, 2012 at 03:56 AM ·
shadereditormaterialassets
Find all materials using a specific shader
We've got a whole bunch of materials using the Diffuse shader, and we need to change them to use Mobile/Diffuse instead.
It's a process that could end up happening a couple of times, so I'd like to avoid doing it by hand. Is it possible to automate this somehow (presumably with some kind of editor script?).
Comment
Yes. Though it will probably take longer to learn how than to do it manually. Up to you.
Answer by hvilela · Sep 26, 2012 at 08:42 PM
Yes, it's possible. Start but checking the Unity documentation about how to extend the editor.