CopyTransform

Changelog:

v1.0 [Steve Allison-Bunnell / aarku] - script created v1.1 [AndrewRaphaelLukasik] - Paste transform options broken into categories - Swap Y and Z Scale added (useful when dealing with Y-Z axis issues) - localRotation+90 added

Description
Allows you to copy the local position, rotation, and scale of the currently selected object in the scene. Then you can paste this transform information into another object. Useful for positioning new prefabs in the location of a different prefab if you want to swap them.

Usage
You must place the script in a folder named Editor in your project's Assets folder for it to work properly.

Select an object in the scene hierarchy, then choose Transform Copier -> Copy. This copies the local position, rotation, and scale of the selected object. Then select another object and choose Transform Copier -> Paste (option). This will apply the copied transform to the new object. Both objects must either be at the root of the scene hierarchy or within the same parent for the transform to be applied properly.