HasDescendants(TypeIndex)
Returns if any component inherits from the provided TypeIndex
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static bool HasDescendants(TypeIndex baseTypeIndex)
Parameters
Parent type
Returns
Type | Description |
|---|---|
| bool | Returns if any component inherits from baseTypeIndex |