public void Read(AssetStream stream)
 {
     Time = stream.ReadSingle();
     if (IsReadCurve(stream.Version))
     {
         CountCurve.Read(stream);
     }
     else
     {
         MinValue = stream.ReadInt32();
         MaxValue = stream.ReadInt32();
     }
     CycleCount     = stream.ReadInt32();
     RepeatInterval = stream.ReadSingle();
 }
 public void Read(AssetReader reader)
 {
     Time = reader.ReadSingle();
     if (IsReadCurve(reader.Version))
     {
         CountCurve.Read(reader);
     }
     else
     {
         int minValue = reader.ReadInt32();
         int maxValue = reader.ReadInt32();
         CountCurve = new MinMaxCurve(minValue, maxValue);
     }
     CycleCount     = reader.ReadInt32();
     RepeatInterval = reader.ReadSingle();
 }