mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-11-14 11:18:47 -05:00
Fix AnimatorController support for Unity 4.5+
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user