Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTarget

Body update event target for callbacks.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTarget

Properties

Property

Description

bodyTargetThe callback target (_callbackTarget) associated with PhysicsEvents.BodyUpdateEvent. This returns any implemented PhysicsCallbacks.IBodyUpdateCallback or NULL if not implemented or no target.
bodyUpdateEventThe event.