Version 3.3.1.2

LayerMaskFormatter class

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

Constructors

LayerMaskFormatter()
public LayerMaskFormatter()

Methods

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

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

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

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.