浏览代码

[unity] Fixed compile error on older Unity versions which contain PackageInfo but not FindForAssetPath. See #2223.

Harald Csaszar 2 年之前
父节点
当前提交
c658453bb5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs

+ 1 - 1
spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs

@@ -51,7 +51,7 @@
 #define PROBLEMATIC_PACKAGE_ASSET_MODIFICATION
 #define PROBLEMATIC_PACKAGE_ASSET_MODIFICATION
 #endif
 #endif
 
 
-#if UNITY_2017_3_OR_NEWER
+#if UNITY_2019_2_OR_NEWER
 #define HAS_PACKAGE_INFO
 #define HAS_PACKAGE_INFO
 #endif
 #endif