Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnTriggerEnd2D(TriggerEndEvent)

Called when a PhysicsEvents.TriggerEndEvent 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: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
void OnTriggerEnd2D(PhysicsEvents.TriggerEndEvent endEvent)

Parameters

The event that occurred.