NullableVector4.

ToVector2() Method

Summary

Returns a new UnityEngine.Vector2 using components of this vector. Any components which are null will be set to 0.

Syntax

public Vector2 ToVector2()

Return Value

Type Description
Vector2