# TypeManager.ComponentLifecycleDelegate

> Delegate type for component lifecycle callbacks (IDebugOnAdded/IDebugOnRemoved). Used by ILPP-generated wrapper code.

## Definition

* **Type:** Delegate
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public delegate void TypeManager.ComponentLifecycleDelegate(Entity* entity, nint componentPtr)
```
