ChangeMaterialOnSelection

Author: Casemon (Casemon)

Description
This Wizard lets you set the material on the current selection. Also has toggles for include / excluding prefabs or children. Helps you change materials 'en masse' as needed, especially useful when using prefabs and need to change material on only a subset of them.

Usage
You must place the script in a folder named Editor in your projects Assets folder for it to work properly.

Select the objects you want to change the material on and launch the Wizard by clicking on Custom => Set Selection to Material. It will let you specify you which material to change to and whether to include children (on selected objects) or exclude prefabs (if selection includes instances).

Will fail if you have an element in the selection that does not have a Mesh Renderer component.