mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Update skeleton data version check.
This commit is contained in:
parent
0520f96b68
commit
8cb2197da3
@ -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 readonly int[][] compatibleBinaryVersions = { new[] { 3, 7, 0 } };
|
||||||
static int[][] compatibleJsonVersions = { new[] { 3, 6, 0 }, new[] { 3, 7, 0 }, new[] { 3, 5, 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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user