| Parameter | Description |
|---|---|
| entity | The entity whose component should be checked. |
bool True if the specified component is enabled, or false if it is disabled.
Checks whether a given ComponentType is enabled on the specified Entity.
An entity with a disabled component will not match an EntityQuery that requires that component,
and will match a query that excludes that component.
Additional resources: EntityManager.SetComponentEnabled, ComponentLookup<T0>.IsComponentEnabled
| Parameter | Description |
|---|---|
| systemHandle | The system whose component should be checked. |
bool True if the specified component is enabled, or false if it is disabled.
Checks whether a given ComponentType is enabled on the specified system using SystemHandle.
Additional resources: EntityManager.SetComponentEnabled, ComponentLookup<T0>.IsComponentEnabled
| Parameter | Description |
|---|---|
| entity | The entity whose component should be checked. |
| componentType | The component type to enable or disable. This type must implement the IEnableableComponent interface. |
bool True if the specified component is enabled, or false if it is disabled.
Checks whether a given ComponentType is enabled on the specified Entity.
An entity with a disabled component will not match an EntityQuery that requires that component,
and will match a query that excludes that component.
Additional resources: EntityManager.SetComponentEnabled, ComponentLookup<T0>.IsComponentEnabled