文档

Unity Engine

Unity Engine

operator +(Vector2Int, Vector2Int)

Adds two vectors.
阅读时间1 分钟最后更新于 1 个月前

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.