support 2021.2

This commit is contained in:
Perfare
2021-11-12 10:25:22 +08:00
parent 2ef52afe1e
commit d08b78c2cf
2 changed files with 27 additions and 5 deletions

View File

@@ -31,6 +31,10 @@ namespace AssetStudio
if (version[0] >= 5) //5.0 and up
{
var m_LinearVelocityBlending = reader.ReadBoolean();
if (version[0] > 2021 || (version[0] == 2021 && version[1] >= 2)) //2021.2 and up
{
var m_StabilizeFeet = reader.ReadBoolean();
}
reader.AlignStream();
}