Method GetComponentCount
GetComponentCount(Entity)
Gets the number of component types associated with an entity.
Declaration
public int GetComponentCount(Entity entity)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | entity | The entity. |
Returns
| Type | Description |
|---|---|
| int | The number of components. |