public void Read(AssetReader reader) { Color0.Read(reader); Color1.Read(reader); Color2.Read(reader); Color3.Read(reader); Color4.Read(reader); }
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(); } }