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