CollisionEnter2D.OnCollisionEnter2D
Method in CollisionEnter2D
Declaration
protected virtual void OnCollisionEnter2D(Collision2D collision)
Description
Invokes the custom unity event in response to OnCollisionEnter2D.
Parameters
collision | The collision data to send with the event. |