Version 3.3.0.1

ColorBlockFormatter<T> class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public class ColorBlockFormatter<T> : MinimalBaseFormatter<T>, IFormatter<T>, IFormatter
Custom formatter for the type.
Inheritance

Type Parameters

T

Constructors

ColorBlockFormatter()
public ColorBlockFormatter()

Methods

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

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

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

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.