File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Assets/FbxExporters/Editor Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,15 @@ private static void EnforceUniqueNames(GameObject[] exportSet)
194
194
}
195
195
}
196
196
197
+ /// <summary>
198
+ /// Sets up the imported GameObject to match the original.
199
+ /// - Updates the name to be the same as original (i.e. remove the "(Clone)")
200
+ /// - Moves the imported object to the correct position in the hierarchy
201
+ /// - Updates the transform of the imported GameObject to match the original
202
+ /// - Copy over missing components and component values
203
+ /// </summary>
204
+ /// <param name="orig">Original GameObject.</param>
205
+ /// <param name="imported">Imported GameObject.</param>
197
206
private static void SetupImportedGameObject ( GameObject orig , GameObject imported )
198
207
{
199
208
Transform importedTransform = imported . transform ;
You can’t perform that action at this time.
0 commit comments