RiderFlow includes the Replace Objects refactoring. Select one or more in a scene, right-click and choose Replace Objects. RiderFlow will show you the GameObject chooser popup. From there, it only takes a single click to replace the selected GameObjects with new GameObjects (in the same positions). All scene references to the original objects are also updated throughout the code.
Replace a set of GameObjects with a copy of a certain GameObject or prefab
Select the objects you want to replace in a scene or in the Hierarchy view.
Right-click the GameObject in the Hierarchy view and choose the “Replace GameObject with…” option / Right-click the GameObject in Scene view and choose the “Replace with…” option.
In the window that opens, choose the GameObject from the grid that should replace the chosen GameObjects. You can search the grid to narrow down your item options (see scenario modifications).
Before the GameObjects are replaced, the replacement method can be configured (see scenario modifications). To access the options panel, click the “>” button.
When you’re ready, click “Replace” to start the replacement.
All selected GameObjects are replaced with copies of the selected GameObject from Step 2.