示例#1
0
 public void Read(AssetReader reader)
 {
     Color0.Read(reader);
     Color1.Read(reader);
     Color2.Read(reader);
     Color3.Read(reader);
     Color4.Read(reader);
 }
示例#2
0
 public void Read(BinaryReader reader, byte[] version)
 {
     Color1.Read(reader);
     Color2.Read(reader);
     if (version[0] >= 0 && version[1] >= 1 && version[2] >= 8)
     {
         doRgbGradient = reader.ReadBoolean();
     }
 }