Not sure if I am missing an option in Unity for this but it is something that always annoys me. I have say a house and around it are trees and bushes etc. all children of the house in the hierarchy. I then bring in a new house model and I want to add the trees etc. to this new model, so I select them and Ctrl D to duplicate them, then drag then in the Hierarchy to the new house model to make them children. But now I have to go through every object and copy the transform component so that they are correctly positioned in relation to their new parent not the old one. Is there some shortcut where making an object a child of another will just leave the local position and rotation alone so that it moves to the new parent?
I can’t think of a particular menu item, you may have to write it yourself using:
transform.SetParent(..., worldPositionStays: false)