[unity] Fixed compile error in conditional version branch of commit 76e8538. See #1890.

This commit is contained in:
Harald Csaszar 2023-09-08 19:35:05 +02:00
parent e4721a8cf3
commit 1f57fb2a9d

View File

@ -171,7 +171,7 @@ namespace Spine.Unity.Editor {
EditorUtility.UnloadUnusedAssetsImmediate();
AssetDatabase.StopAssetEditing();
#if !HAS_SAVE_ASSET_IF_DIRTY
if (textureLoadersToRestore.Length > 0)
if (textureLoadersToRestore.Count > 0)
AssetDatabase.SaveAssets();
#endif
} finally {