Version 2.1.0.0

Color32Formatter class

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

Constructors

Color32Formatter()
public Color32Formatter()

Methods

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

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

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

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.