Version 3.3.0.2

Vector2IntFormatter class

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

Constructors

Vector2IntFormatter()
public Vector2IntFormatter()

Methods

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

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

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

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.