Equals
SystemTypeIndex instances are equal if they refer to the same system type.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
Equals(Object)
SystemTypeIndex instances are equal if they refer to the same system type.
public override bool Equals(object compare)
Parameters
The object to compare to this SystemTypeIndex.
Returns
Type | Description |
|---|---|
| bool | True, if the compare parameter contains a TypeIndex object equal to this TypeIndex instance. |
Equals(SystemTypeIndex)
SystemTypeIndex instances are equal if they refer to the same system type.
public bool Equals(SystemTypeIndex typeIndex)
Parameters
The other SystemTypeIndex.
Returns
Type | Description |
|---|---|
| bool | True, if the SystemTypeIndex instances are equal. |