CollisionStay2D.OnCollisionStay2D

Method in CollisionStay2D

Declaration

protected virtual void OnCollisionStay2D(Collision2D collision)

Description

Invokes the custom unity event in response to OnCollisionStay2D.

Parameters

collisionThe collision data to send with the event.