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 |
---|---|
Int32 | The number of components. |