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 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
void OnBodyUpdate2D(PhysicsEvents.BodyUpdateEvent bodyUpdateEvent)
Parameters
The event that occurred.