Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SendBodyUpdateCallbacks()

Send all current _bodyUpdateEvents where the PhysicsBody involved are valid (see _isValid ) and have a callback target assigned (see _callbackTarget ). Only callback targets that implement PhysicsCallbacks.IBodyUpdateCallback will be called. This will be called automatically if _autoBodyUpdateCallbacks is true. This must be called on the main thread.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void SendBodyUpdateCallbacks()