mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[unity] Fixed compile error in conditional version branch of commit 76e8538. See #1890.
This commit is contained in:
parent
e4721a8cf3
commit
1f57fb2a9d
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user