Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator +(Vector3Int, Vector3Int)

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

Definition

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

Parameters

The first vector to add.

The second vector to add.

Returns

Type

Description

Vector3IntThe resulting vector formed from component-wise addition of
a
and
b
.

Remarks

This method adds the corresponding components of each vector together, to produce a new vector.