File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Assets/FbxExporters/Editor/UnitTests Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,6 @@ public void RemappingTest()
172
172
stringpair . UnityObjectName = "Sphere" ;
173
173
fbxPrefabScript . NameMapping . Add ( stringpair ) ;
174
174
PrefabUtility . ReplacePrefab ( cubePrefabInstance , cubePrefabParent ) ;
175
- string cubePrefabInstancePath = AssetDatabase . GetAssetPath ( cubePrefabInstance ) ;
176
175
177
176
//Create second FBX
178
177
GameObject cube2 = GameObject . CreatePrimitive ( PrimitiveType . Cube ) ;
@@ -186,7 +185,7 @@ public void RemappingTest()
186
185
//export our updated hierarchy to the same file path as the original
187
186
SleepForFileTimestamp ( ) ;
188
187
// "Import" model to Unity (Exporting modified FBX to Unity to see if the remapping works)
189
- string fbxFileName = ExportSelectedObjects ( filePath , cube2 ) ;
188
+ ExportSelectedObjects ( filePath , cube2 ) ;
190
189
AssetDatabase . Refresh ( ) ;
191
190
192
191
// Assert Check Sphere = SphereFBX
You can’t perform that action at this time.
0 commit comments