Vector2.operator +static operator + (a : Vector2, b : Vector2) : Vector2DescriptionAdds two vectors. Adds corresponding components together.
JavaScript
// prints (3.0,5.0) using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > Vector2 | ||||
Vector2.operator +static operator + (a : Vector2, b : Vector2) : Vector2DescriptionAdds two vectors. Adds corresponding components together.
JavaScript
// prints (3.0,5.0) using UnityEngine; import UnityEngine |