CollisionEnter


Declaration

public class CollisionEnter : MonoBehaviour

Description

Invokes a custom unity event OnCollisionEnter.

Properties

layerMaskThe layers that this object can collide with.
collisionEventThe event invoked during OnCollisionEnter.

Methods

OnCollisionEnterInvokes the custom unity event in response to OnCollisionEnter.