triggerEndEvents
Get the trigger end events from the last simulation. The PhysicsShape objects returned should be checked to see if they are valid before accessing as they may have been deleted since this event was produced (see PhysicsShape.isValid ). Any change to the world state can invalidate this data so
Read time 1 minuteLast updated 21 hours ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public ReadOnlySpan<PhysicsEvents.TriggerEndEvent> triggerEndEvents { get; }