plus

operator fun plus(other: Vector2): Vector2

Adds another Vector2 instance to this Vector2 instance.

Return

A new Vector2 representing the result of addition.

Parameters

other

The Vector2 instance to add.