PhysicsCallbacks.BodyUpdateCallbackTargets
Contains all the body update callback targets returned from PhysicsWorld.GetBodyUpdateCallbackTargets.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
- Implements: IDisposable, IEquatable<BodyUpdateCallbackTargets>
public readonly struct PhysicsCallbacks.BodyUpdateCallbackTargets : IDisposable, IEquatable<PhysicsCallbacks.BodyUpdateCallbackTargets>
Properties
Property | Description |
|---|---|
| bodyUpdateCallbackTargets | The body update targets. |
Methods
Method | Description |
|---|---|
| Dispose | 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 | Body update event target for callbacks. |