Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bodyTarget

The callback target ( PhysicsShape.callbackTarget ) associated with PhysicsEvents.BodyUpdateEvent. This returns any implemented PhysicsCallbacks.IBodyUpdateCallback or NULL if not implemented or no target.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsCallbacks.IBodyUpdateCallback bodyTarget { get; }