Support 2021.1

This commit is contained in:
Perfare
2021-04-11 23:49:44 +08:00
parent b52696c965
commit f1f2430f97
6 changed files with 68 additions and 5 deletions
+4
View File
@@ -43,6 +43,10 @@ namespace AssetStudio
{
var m_DynamicOccludee = reader.ReadByte();
}
if (version[0] >= 2021) //2021.1 and up
{
var m_StaticShadowCaster = reader.ReadByte();
}
var m_MotionVectors = reader.ReadByte();
var m_LightProbeUsage = reader.ReadByte();
var m_ReflectionProbeUsage = reader.ReadByte();