Equals
Checks if this reference and another reference are equal.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.CoreModule
Equals(UnityObjectRef<T>)
Checks if this reference and another reference are equal.
public bool Equals(UnityObjectRef<T> other)
Parameters
The UnityObjectRef to compare for equality.
Returns
Type | Description |
|---|---|
| bool | True if the two references are equal. |
Equals(Object)
Checks if this object references the same UnityEngine.Object as another object.
public override bool Equals(object obj)
Parameters
The object to compare.
Returns
Type | Description |
|---|---|
| bool | True if obj is a UnityObjectRef that points to the same instance as this. |