Vector2.operator Vector2 Manual     Reference     Scripting  
Scripting > Runtime Classes > Vector2
Vector2.operator Vector2

static implicit function Vector2 (v : Vector3) : Vector2

Description

Converts a Vector3 to a Vector2.

Vector3s can be implicitly converted to Vector2 (z is discarded).