Skip to content

On Trigger Exit 2D ​

Physics & collisionsDetailedOnTriggerExit2D

A 2D collider leaves this 2D trigger.

A 2D physics event: it happens when a Collider 2D that was inside the 2D area leaves it. What left is that Collider 2D. The setup is the same as On Trigger Enter 2D.

Official docs: OnTriggerExit2D (Unity)

Event values

Values this event has; action settings can use them as targets or values.

NameType
What leftCollider2D

On a card

WhenOn Trigger Exit 2D⋯
What to do
+ Add what to do

In Udon

In UdonSharp, this is the method:

void OnTriggerExit2D(Collider2D other)

In the same category