mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-11-14 11:18:47 -05:00
Improve support for Unity 6000.2+ assets
This commit is contained in:
@@ -79,6 +79,12 @@ namespace AssetStudio
|
||||
var m_SmallMeshCulling = reader.ReadByte();
|
||||
}
|
||||
reader.AlignStream();
|
||||
if (version >= (6000, 2)) //6000.2 and up
|
||||
{
|
||||
var m_ForceMeshLod = reader.ReadInt16();
|
||||
reader.AlignStream();
|
||||
var m_MeshLodSelectionBias = reader.ReadSingle();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -174,6 +180,11 @@ namespace AssetStudio
|
||||
|
||||
var m_SortingOrder = reader.ReadInt16();
|
||||
reader.AlignStream();
|
||||
|
||||
if (version >= (6000, 3)) //6000.3 and up
|
||||
{
|
||||
var m_MaskInteraction = reader.ReadInt32();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user