文档

Unity Engine

Unity Engine

operator -(Vector2Int, Vector2Int)

Subtracts one vector from another.
阅读时间1 分钟最后更新于 1 天前

Definition

public static Vector2Int operator -(Vector2Int a, Vector2Int b)

Parameters

The vector to subtract
b
from.

The vector to subtract from
a
.

Returns

Type

Description

Vector2Int

Remarks

Subtracts each component of
b
from
a
.