Version 3.3.1.2

GradientColorKeyFormatter class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public class GradientColorKeyFormatter : MinimalBaseFormatter<GradientColorKey>, IFormatter<GradientColorKey>, IFormatter
Custom formatter for the UnityEngine.GradientColorKey type.
Inheritance

Constructors

GradientColorKeyFormatter()
public GradientColorKeyFormatter()

Methods

Read(ref GradientColorKey, IDataReader)
Reads into the specified value using the specified reader.
protected override void Read(ref GradientColorKey value, IDataReader reader)
Parameters
UnityEngine.GradientColorKey value

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

Write(ref GradientColorKey, IDataWriter)
Writes from the specified value using the specified writer.
protected override void Write(ref GradientColorKey value, IDataWriter writer)
Parameters
UnityEngine.GradientColorKey value

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.