示例#1
0
 public void Read(AssetReader reader)
 {
     Lightmap.Read(reader);
     if (HasIndirectLightmap(reader.Version))
     {
         IndirectLightmap.Read(reader);
     }
     if (HasLightInd(reader.Version))
     {
         LightInd.Read(reader);
         DirInd.Read(reader);
     }
     if (HasDirLightmap(reader.Version))
     {
         DirLightmap.Read(reader);
         ShadowMask.Read(reader);
     }
 }