unity vector2 to vector3 code example Example: unity easy convert vector3 to vector2 Vector3 v3 = Vector3.one; Vector2 v2 = v3;