GetComponentCount(Entity)
Gets the number of component types associated with an entity.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public int GetComponentCount(Entity entity)
Parameters
The entity.
Returns
Type | Description |
|---|---|
| int | The number of components. |