We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db3eb64 commit 3d49f0aCopy full SHA for 3d49f0a
Assets/FbxExporters/Editor/FbxPrefabAutoUpdater.cs
@@ -1007,8 +1007,8 @@ public HashSet<GameObject> ImplementUpdates(FbxPrefab prefabInstance)
1007
UnityEditor.EditorJsonUtility.FromJsonOverwrite(fbxComponent.jsonValue, tempTransform);
1008
1009
var rectTransform = prefabComponent as RectTransform;
1010
- rectTransform.rotation = tempTransform.rotation;
1011
- rectTransform.position = tempTransform.position;
+ rectTransform.localRotation = tempTransform.rotation;
+ rectTransform.localPosition = tempTransform.position;
1012
rectTransform.localScale = tempTransform.localScale;
1013
}
1014
finally
0 commit comments