CollisionStay


Declaration

public class CollisionStay : MonoBehaviour

Description

Invokes a custom unity event OnCollisionStay.

Properties

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

Methods

OnCollisionStayInvokes the custom unity event in response to OnCollisionStay.