OnTriggerBegin2D(TriggerBeginEvent)
Called when a PhysicsEvents.TriggerBeginEvent for the object occurs. This will always be called on the main-thread after the simulation has finished.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
void OnTriggerBegin2D(PhysicsEvents.TriggerBeginEvent beginEvent)
Parameters
The event that occurred.