Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator -(Vector3Int, Vector3Int)

Subtracts one vector from another.
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 vector to subtract
b
from.

The vector to subtract from
a
.

Returns

Type

Description

Vector3Int

Remarks

Subtracts each component of
b
from
a
.