PhysicsCallbacks.IBodyUpdateCallback
An interface that when implemented by a Object, can be called as a target by PhysicsWorld.SendBodyUpdateCallbacks.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Interface
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
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. |