فهرست منبع

[unity] Update skeleton data version check.

John 7 سال پیش
والد
کامیت
8cb2197da3
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      spine-unity/Assets/Spine/Editor/spine-unity/Editor/SpineEditorUtilities.cs

+ 2 - 2
spine-unity/Assets/Spine/Editor/spine-unity/Editor/SpineEditorUtilities.cs

@@ -1258,8 +1258,8 @@ namespace Spine.Unity.Editor {
 
 
 		#region SkeletonDataFileValidator
 		#region SkeletonDataFileValidator
 		internal static class SkeletonDataFileValidator {
 		internal static class SkeletonDataFileValidator {
-			static int[][] compatibleBinaryVersions = { new[] { 3, 6, 0 }, new[] { 3, 5, 0 } };
-			static int[][] compatibleJsonVersions = { new[] { 3, 6, 0 }, new[] { 3, 7, 0 }, new[] { 3, 5, 0 } };
+			static readonly int[][] compatibleBinaryVersions = { new[] { 3, 7, 0 } };
+			static readonly int[][] compatibleJsonVersions = { new[] { 3, 7, 0 }, new[] { 3, 6, 0 }, new[] { 3, 5, 0 } };
 			//static bool isFixVersionRequired = false;
 			//static bool isFixVersionRequired = false;
 
 
 			public static bool CheckForValidSkeletonData (string skeletonJSONPath) {
 			public static bool CheckForValidSkeletonData (string skeletonJSONPath) {