Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator +(Vector2Int, Vector2Int)

Adds two vectors.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Operator
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Vector2Int operator +(Vector2Int a, Vector2Int b)

Parameters

The first vector to add.

The second vector to add.

Returns

Type

Description

Vector2Int

Remarks

Adds corresponding components together.