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 |
---|---|
bool | 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 |
---|---|
bool | Returns true, if both EntityArchetype instances reference the same archetype. |