[unity] Update skeleton data version check.

This commit is contained in:
John 2018-06-08 01:47:47 +08:00 committed by GitHub
parent 0520f96b68
commit 8cb2197da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1258,8 +1258,8 @@ namespace Spine.Unity.Editor {
#region 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;
public static bool CheckForValidSkeletonData (string skeletonJSONPath) {