Editor - Replace prefab

Is it possible to have an editor script which will allow me to replace an existing prefab in the scene with another prefab by, say, dragging the replacement prefab onto the prefab that needs to be replaced?

It would make level building a lot easier as I would be able to simply swap my modular pieces without having to delete the existing prefab and drag a new prefab into the scene.

Check out this thread which has a script that looks like it should do what you’re asking (I haven’t tried it myself): http://forum.unity3d.com/threads/24311-Replace-game-object-with-prefab

Also there’s a built in method in Unity - To swap an object for a prefab, hold down the ALT key and then drag a prefab onto an existing object in the hierarchy.

Is it just me or all sequences of the letters “h” and “i” together are replaced with this string: “%%anonymous%%” ?