# PhysicsCallbacks.BodyUpdateCallbackTargets

> Contains all the body update callback targets returned from PhysicsWorld.GetBodyUpdateCallbackTargets.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule
* **Implements:** [IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

```csharp
public readonly struct PhysicsCallbacks.BodyUpdateCallbackTargets : IDisposable
```

## Properties

| Property                                                                                                                                                           | Description              |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------ |
| [bodyUpdateCallbackTargets](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicscallbacks/bodyupdatecallbacktargets/bodyupdatecallbacktargets.md) | The body update targets. |

## Methods

| Method                                                                                                                         | Description                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
| [Dispose](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicscallbacks/bodyupdatecallbacktargets/dispose.md) | Dispose of any allocated memory. This must be called if any targets are returned otherwise memory leaks will occur. |

## Structs

| Struct                                                                                                                                                                                     | Description                             |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------- |
| [PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTarget](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicscallbacks/bodyupdatecallbacktargetsbodyupdatetarget.md) | Body update event target for callbacks. |
