File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Assets/FbxExporters/Editor Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1019,14 +1019,14 @@ public HashSet<GameObject> ImplementUpdates(FbxPrefab prefabInstance)
1019
1019
rectTransform . localPosition = tempTransform . localPosition ;
1020
1020
rectTransform . localScale = tempTransform . localScale ;
1021
1021
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 ) ;
1030
1030
#endregion
1031
1031
}
1032
1032
finally
You can’t perform that action at this time.
0 commit comments