Improve support of Unity 2023+

This commit is contained in:
VaDiM
2024-09-25 00:26:09 +03:00
parent 348aea2be8
commit fa332b45df
5 changed files with 52 additions and 42 deletions

View File

@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AssetStudio
namespace AssetStudio
{
public sealed class Animator : Behaviour
{
@@ -35,6 +30,10 @@ namespace AssetStudio
{
var m_StabilizeFeet = reader.ReadBoolean();
}
if (version >= (2023, 1)) //2023.1 and up
{
var m_AnimatePhysics = reader.ReadBoolean();
}
reader.AlignStream();
}