PhysicsCallbacks.IBodyUpdateCallback
An interface that when implemented, can be called as a target by PhysicsWorld.SendBodyUpdateCallbacks.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Interface
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public interface PhysicsCallbacks.IBodyUpdateCallback
Methods
Method | Description |
|---|---|
| OnBodyUpdate2D | Called when a PhysicsEvents.BodyUpdateEvent for the object occurs. This will always be called on the main-thread after the simulation has finished. |