CollisionEnter.OnCollisionEnter

Method in CollisionEnter

Declaration

protected virtual void OnCollisionEnter(Collision collision)

Description

Invokes the custom unity event in response to OnCollisionEnter.

Parameters

collisionThe collision data to send with the event.