Namespace: | Sirenix.Serialization |
Assembly: | Sirenix.Serialization |
public class ColorFormatter : MinimalBaseFormatter<Color>, IFormatter<Color>, IFormatter
public ColorFormatter()
protected override void Read(ref Color value, IDataReader reader)
UnityEngine.Color | value | The value to read into. |
Sirenix.Serialization.IDataReader | reader | The reader to use. |
protected override void Write(ref Color value, IDataWriter writer)
UnityEngine.Color | value | The value to write from. |
Sirenix.Serialization.IDataWriter | writer | The writer to use. |