Material copy script
Can be used to run a script before exporting.
Usually in Blender we have duplicate materials when adding in new models.
For ex:
- Material (the default one)
- Material.001 (after adding new objects that also have the Material name)
- Material.002
- ..
While the new Blender --> Unity workflow can work around these .001 files, it's best that they change back to the original material for sanity sake. This is done by a script that's pasted in Blender, that script can then be ran before exporting by entering it's name in the string field.