An interface that when implemented by a UnityEngine.Object, can be called as a target by PhysicsWorld.SendContactCallbacks.
| Method | Description |
|---|---|
| OnContactBegin2D | Called when a ContactBeginEvent for the object occurs. This will always be called on the main-thread after the simulation has finished. |
| OnContactEnd2D | Called when a ContactEndEvent for the object occurs. This will always be called on the main-thread after the simulation has finished. |