PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTarget
Body update event target for callbacks.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public readonly struct PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTarget
Properties
Property | Description |
|---|---|
| bodyTarget | The callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.BodyUpdateEvent. This returns any implemented PhysicsCallbacks.IBodyUpdateCallback or NULL if not implemented or no target. |
| bodyUpdateEvent | The event. |