@@ -187,7 +187,7 @@ FbxPrefabAutoUpdater.FbxPrefabUtility.FbxRepresentation Rep(GameObject go) {
187
187
}
188
188
189
189
FbxPrefabAutoUpdater . FbxPrefabUtility . FbxRepresentation History ( GameObject go ) {
190
- return new FbxPrefabAutoUpdater . FbxPrefabUtility ( go . GetComponent < FbxPrefab > ( ) ) . GetFbxHistory ( ) ;
190
+ return new FbxPrefabAutoUpdater . FbxPrefabUtility ( go . GetComponent < FbxPrefab > ( ) ) . FbxHistory ;
191
191
}
192
192
193
193
GameObject ModifySourceFbx ( )
@@ -270,7 +270,7 @@ public void BasicTest() {
270
270
AssertAreIdentical ( newHistory , History ( m_manualPrefab ) ) ;
271
271
272
272
// Check some corner cases.
273
- Assert . AreEqual ( m_source , manualFbxPrefabUtility . GetFbxAsset ( ) ) ;
273
+ Assert . AreEqual ( m_source , manualFbxPrefabUtility . FbxAsset ) ;
274
274
275
275
// Illegal to set the source model to something that isn't an
276
276
// asset.
@@ -287,7 +287,7 @@ public void BasicTest() {
287
287
// hierarchy or anything.
288
288
Debug . Log ( "Testing SetSourceModel to null" ) ;
289
289
Assert . That ( ( ) => manualFbxPrefabUtility . SetSourceModel ( null ) , Throws . Nothing ) ;
290
- Assert . IsNull ( manualFbxPrefabUtility . GetFbxAsset ( ) ) ;
290
+ Assert . IsNull ( manualFbxPrefabUtility . FbxAsset ) ;
291
291
AssertAreIdentical ( newHierarchy , Rep ( m_manualPrefab ) ) ;
292
292
AssertAreIdentical ( newHistory , History ( m_manualPrefab ) ) ;
293
293
Assert . That ( ( ) => manualFbxPrefabUtility . SyncPrefab ( ) , Throws . Nothing ) ;
@@ -429,7 +429,7 @@ public void TestTransformAndReparenting()
429
429
GetRandomFbxFilePath ( ) , root ) ;
430
430
SleepForFileTimestamp ( ) ;
431
431
432
- var destFile = new FbxPrefabAutoUpdater . FbxPrefabUtility ( original . GetComponent < FbxPrefab > ( ) ) . GetFbxAssetPath ( ) ;
432
+ var destFile = new FbxPrefabAutoUpdater . FbxPrefabUtility ( original . GetComponent < FbxPrefab > ( ) ) . FbxAssetPath ;
433
433
if ( System . IO . File . Exists ( destFile ) ) {
434
434
System . IO . File . Delete ( destFile ) ;
435
435
}
0 commit comments