기술 자료

Unity Engine

Unity Engine

OnBodyUpdate2D(BodyUpdateEvent)

Called when a PhysicsEvents.BodyUpdateEvent for the object occurs. This will always be called on the main-thread after the simulation has finished.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
void OnBodyUpdate2D(PhysicsEvents.BodyUpdateEvent bodyUpdateEvent)

Parameters

bodyUpdateEvent

The event that occurred.