Copy Mesh Settings - FACS01-01/FACS_Utilities GitHub Wiki
Helps you copy/transfer Mesh Renderer
(and Skinned Mesh Renderer
) settings between two GameObjects
and their children, without copying the mesh assets.
Main use case: when you have an avatar's FBX in Unity, you tweaked its Blendshape values / mesh Bounds / assigned Materials / some other Mesh Renderer
settings, then wanted to edit the FBX a bit (in Blender for example), and after importing the new FBX to Unity (keeping the old one) you need to copy all settings back.
How to use
- Open its window from the menu
FACS Utils/Copy/Copy Mesh Settings
. - Put the root
GameObject
of what you want to copy from, into the Copy From object selector, and press Scan!. - Put the root
GameObject
of what you want to receive the copying, into the Copy To object selector. - Use the checkboxes to select what
Components
to copy. - When ready, press the Copy! button.
Extra tips and notes
- You can select
Prefabs
or unpackedGameObjects
, fromScene
or Project folders, to copy From and To. - Keep in mind that the copying process looks for matching
GameObject
Names between both hierarchies.- If you renamed a mesh in the new FBX, make a duplicate of the old model and rename the corresponding
Mesh Renderer
/GameObject
so it matches the new model.
- If you renamed a mesh in the new FBX, make a duplicate of the old model and rename the corresponding
- The tool doesn't copy
Materials
that come from FBX's, only from standaloneMaterial
assets. Also it keeps the sameMaterial
order as in the Copy FromMesh Renderers
. - The tool provides 2 types of visualizations so you can locate the Components to copy more easily: List View and Hierarchy View.