GetDescendantCount(TypeIndex)
Returns how many component types are known to the TypeManager that inherit from a given component type
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static int GetDescendantCount(TypeIndex typeIndex)
Parameters
Parent type
Returns
Type | Description |
|---|---|
| int | Returns count of component types inheriting from typeIndex's component type |