NullableVector4.

ToVector3(Vector2) Method

Summary

Returns a new UnityEngine.Vector3 using components of this vector. Any components which are null will instead use the corresponding component of the specified `fallback`.

Syntax

public Vector2 ToVector3(Vector2 fallback)

Parameters

Name Type Description
fallback Vector2

Return Value

Type Description
Vector2