Equals
SystemHandle instances are equal if they refer to the same system instance.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
Equals(Object)
SystemHandle instances are equal if they refer to the same system instance.
public override bool Equals(object obj)
Parameters
The object to compare to this SystemHandle.
Returns
Type | Description |
|---|---|
| bool | True, if the obj is a SystemHandle object and both SystemHandles represent the same system instance. |
Equals(SystemHandle)
Implements IEquatable interface for usage in generic containers. SystemHandle instances are equal if they refer to the same system instance.
public bool Equals(SystemHandle other)
Parameters
Another SystemHandle instance.
Returns
Type | Description |
|---|---|
| bool | True, if both SystemHandles represent the same system instance. |