Equals
Determines if an object is equal to this vector.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Equals(Object)
Determines if an object is equal to this vector.
public override readonly bool Equals(object other)
Parameters
The object to compare.
Returns
Type | Description |
|---|---|
| bool | True if the object is equal to this vector. |
Equals(Vector3Int)
Determines if a vector is equal to this vector.
public readonly bool Equals(Vector3Int other)
Parameters
The vector to compare.
Returns
Type | Description |
|---|---|
| bool | True if the vectors are equal. |
Equals(Vector3Int)
Determines if a vector is equal to this vector.
public readonly bool Equals(in Vector3Int other)
Parameters
The vector to compare.
Returns
Type | Description |
|---|---|
| bool | True if the vectors are equal. |