Method Equals
Equals(Object)
Reports whether this EntityArchetype references the same archetype as another object.
Declaration
public override bool Equals(object compare)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | compare | The object to compare. |
Returns
| Type | Description |
|---|---|
| Boolean | True, if the compare parameter is a EntityArchetype instance that points to the same archetype. |
Overrides
Equals(EntityArchetype)
Compares archetypes for equality.
Declaration
public bool Equals(EntityArchetype entityArchetype)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityArchetype | entityArchetype | The EntityArchetype to compare. |
Returns
| Type | Description |
|---|---|
| Boolean | Returns true, if both EntityArchetype instances reference the same archetype. |