- [Core] Fix parsing for +2022.x.x

This commit is contained in:
Razmoth
2023-11-28 21:05:32 +04:00
parent 7c67939d3e
commit df186e891b
4 changed files with 79 additions and 5 deletions

View File

@@ -99,6 +99,10 @@ namespace AssetStudio
{
var m_IgnoreMasterTextureLimit = reader.ReadBoolean();
}
if (version[0] == 2022 && version[1] >= 2) //2022.2 and up
{
var m_MipmapLimitGroupName = reader.ReadAlignedString();
}
if (version[0] >= 3) //3.0.0 - 5.4
{
if (version[0] < 5 || (version[0] == 5 && version[1] <= 4))