Equals
Reports whether this EntityArchetype references the same archetype as another object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
Equals(Object)
Reports whether this EntityArchetype references the same archetype as another object.
public override bool Equals(object compare)
Parameters
The object to compare.
Returns
Type | Description |
|---|---|
| bool | True, if the compare parameter is a EntityArchetype instance that points to the same archetype. |
Equals(EntityArchetype)
Compares archetypes for equality.
public bool Equals(EntityArchetype entityArchetype)
Parameters
The EntityArchetype to compare.
Returns
Type | Description |
|---|---|
| bool | Returns true, if both EntityArchetype instances reference the same archetype. |