Skip to main content

Class UnityTypesExtensions

Inheritance
System.Object
Inherited Members
Show
Syntax
public static class UnityTypesExtensions

Methods

WriteVector2(NetworkWriter, Vector2)

Declaration
public static void WriteVector2(this NetworkWriter writer, Vector2 value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Vector2value

WriteVector3(NetworkWriter, Vector3)

Declaration
public static void WriteVector3(this NetworkWriter writer, Vector3 value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Vector3value

WriteVector4(NetworkWriter, Vector4)

Declaration
public static void WriteVector4(this NetworkWriter writer, Vector4 value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Vector4value

WriteVector2Int(NetworkWriter, Vector2Int)

Declaration
public static void WriteVector2Int(this NetworkWriter writer, Vector2Int value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Vector2Intvalue

WriteVector3Int(NetworkWriter, Vector3Int)

Declaration
public static void WriteVector3Int(this NetworkWriter writer, Vector3Int value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Vector3Intvalue

WriteColor(NetworkWriter, Color)

Declaration
public static void WriteColor(this NetworkWriter writer, Color value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Colorvalue

WriteColor32(NetworkWriter, Color32)

Declaration
public static void WriteColor32(this NetworkWriter writer, Color32 value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Color32value

WriteRect(NetworkWriter, Rect)

Declaration
public static void WriteRect(this NetworkWriter writer, Rect value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Rectvalue

WritePlane(NetworkWriter, Plane)

Declaration
public static void WritePlane(this NetworkWriter writer, Plane value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Planevalue

WriteRay(NetworkWriter, Ray)

Declaration
public static void WriteRay(this NetworkWriter writer, Ray value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Rayvalue

WriteMatrix4X4(NetworkWriter, Matrix4x4)

Declaration
public static void WriteMatrix4X4(this NetworkWriter writer, Matrix4x4 value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Matrix4x4value

ReadVector2(NetworkReader)

Declaration
public static Vector2 ReadVector2(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Vector2

ReadVector3(NetworkReader)

Declaration
public static Vector3 ReadVector3(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Vector3

ReadVector4(NetworkReader)

Declaration
public static Vector4 ReadVector4(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Vector4

ReadVector2Int(NetworkReader)

Declaration
public static Vector2Int ReadVector2Int(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Vector2Int

ReadVector3Int(NetworkReader)

Declaration
public static Vector3Int ReadVector3Int(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Vector3Int

ReadColor(NetworkReader)

Declaration
public static Color ReadColor(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Color

ReadColor32(NetworkReader)

Declaration
public static Color32 ReadColor32(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Color32

ReadRect(NetworkReader)

Declaration
public static Rect ReadRect(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Rect

ReadPlane(NetworkReader)

Declaration
public static Plane ReadPlane(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Plane

ReadRay(NetworkReader)

Declaration
public static Ray ReadRay(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Ray

ReadMatrix4x4(NetworkReader)

Declaration
public static Matrix4x4 ReadMatrix4x4(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Matrix4x4