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