Skip to content

Commit a2d9c09

Browse files
committed
tabs
1 parent 420e1c6 commit a2d9c09

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Assets/FbxExporters/Editor/FbxPrefabAutoUpdater.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,14 +1019,14 @@ public HashSet<GameObject> ImplementUpdates(FbxPrefab prefabInstance)
10191019
rectTransform.localPosition = tempTransform.localPosition;
10201020
rectTransform.localScale = tempTransform.localScale;
10211021

1022-
#region force update of rect transform 2017.3 or newer
1023-
// using reflection so we can continue to compile against versions 2017.1
1024-
// Retrieve the method you are looking for
1025-
System.Reflection.MethodInfo methodInfo =
1026-
rectTransform.GetType().GetMethod("ForceUpdateRectTransforms");
1027-
// Invoke the method on the instance
1028-
if (methodInfo!=null)
1029-
methodInfo.Invoke(rectTransform, null);
1022+
#region force update of rect transform 2017.3 or newer
1023+
// using reflection so we can continue to compile against versions 2017.1
1024+
// Retrieve the method you are looking for
1025+
System.Reflection.MethodInfo methodInfo =
1026+
rectTransform.GetType().GetMethod("ForceUpdateRectTransforms");
1027+
// Invoke the method on the instance
1028+
if (methodInfo!=null)
1029+
methodInfo.Invoke(rectTransform, null);
10301030
#endregion
10311031
}
10321032
finally

0 commit comments

Comments
 (0)