Fix AnimatorController support for Unity 4.5+

This commit is contained in:
VaDiM
2026-06-19 21:13:35 +03:00
parent d0e5b00356
commit 23604f9a32
+1 -1
View File
@@ -288,7 +288,7 @@ namespace AssetStudio
}
m_ClipID = reader.ReadUInt32();
if (version == 4 && version.Minor >= 5) //4.5 - 5.0
if (version.IsInRange((4, 5, 2), 5)) //4.5.2 - 5.0 down
{
m_ClipIndex = reader.ReadUInt32();
}