Some minor fixes

This commit is contained in:
VaDiM
2025-03-31 19:46:01 +03:00
parent 40e0bd0248
commit 3fa2ef1694
3 changed files with 29 additions and 21 deletions

View File

@@ -148,10 +148,14 @@
}
else
{
var m_SortingLayerID = reader.ReadUInt32();
var m_SortingLayerID = reader.ReadInt32();
}
if (version > (5, 6) || (version == (5, 6) && version.Build >= 3)) //5.6.0f3 and up
{
var m_SortingLayer = reader.ReadInt16();
}
//SInt16 m_SortingLayer 5.6 and up
var m_SortingOrder = reader.ReadInt16();
reader.AlignStream();
}