CollisionStay2D


Declaration

public class CollisionStay2D : MonoBehaviour

Description

Invokes a custom unity event OnCollisionStay2D.

Properties

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

Methods

OnCollisionStay2DInvokes the custom unity event in response to OnCollisionStay2D.