Ejemplo n.º 1
0
 public void Read(AssetReader reader)
 {
     TextureSettings.Read(reader);
     m_platformSettings = reader.ReadAssetArray <TextureImporterPlatformSettings>();
     PackingSettings.Read(reader);
     VariantMultiplier = reader.ReadSingle();
     m_packables       = reader.ReadAssetArray <PPtr <Object> >();
     BindAsDefault     = reader.ReadBoolean();
     reader.AlignStream(AlignType.Align4);
 }
Ejemplo n.º 2
0
 public void Read(AssetReader reader)
 {
     TextureSettings.Read(reader);
     PlatformSettings = reader.ReadAssetArray <TextureImporterPlatformSettings>();
     PackingSettings.Read(reader);
     VariantMultiplier = reader.ReadSingle();
     Packables         = reader.ReadAssetArray <PPtr <Object> >();
     BindAsDefault     = reader.ReadBoolean();
     if (HasStoredHash(reader.Version))
     {
         StoredHash.Read(reader);
     }
     reader.AlignStream();
 }