UnityReaderReadVector2 Method

Read Vector2 from a Reader.

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public static Vector2 ReadVector2(
	this Reader reader
)

Parameters

reader  Reader
Reader

Return Value

Vector2
Vector2

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Reader. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also