Skip to content

Commit c479448

Browse files
committed
added header
1 parent 01bcd4c commit c479448

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Assets/FbxExporters/Editor/ConvertToModel.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,15 @@ private static void EnforceUniqueNames(GameObject[] exportSet)
194194
}
195195
}
196196

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>
197206
private static void SetupImportedGameObject(GameObject orig, GameObject imported)
198207
{
199208
Transform importedTransform = imported.transform;

0 commit comments

Comments
 (0)