Apply changes to all selected prefabs?

I’ve got a tool that changes all my prefabs in my scene. Every time I use the tool I have to re-apply the changes to my prefabs one by one. It gets pretty tedious. Is there a script that can do that?

Quick and easy solution (and with shortcuts) : https://forum.unity.com/threads/little-script-apply-and-revert-several-prefab-at-once.295311/#post-3310040

A bit late here but hopefully someone can use this answer.

Unfortunately, there is no built-in support in Unity to work with multiple prefabs at once. Unity does expose the PrefabUtility class where you can use ReplacePrefab to apply changes to a prefab object. Used in conjuction with the editor Selection class, you can apply changes to all selected objects in the scene, with a bit of extra work.

For a full solution that allows you to apply, revert and create as many prefabs as you like, check out Multifab on the Unity Asset Store. It’s integrated as an inspector extension too so it’s as easy to use as possible. It’s a huge time saver.