TriggerStay2D


Declaration

public class TriggerStay2D : MonoBehaviour

Description

Invokes a custom unity event OnTriggerStay2D.

Properties

layerMaskThe layers that this object can collide with.
triggerEventThe event invoked during OnTriggerStay2D.

Methods

OnTriggerStay2DInvokes the custom unity event in response to OnTriggerStay2D.