TriggerEnter2D.OnTriggerEnter2D

Method in TriggerEnter2D

Declaration

protected virtual void OnTriggerEnter2D(Collider2D other)

Description

Invokes the custom unity event in response to OnTriggerEnter2D.

Parameters

otherThe collider reference to send with the event.