TriggerStay


Declaration

public class TriggerStay : MonoBehaviour

Description

Invokes a custom unity event OnTriggerStay.

Properties

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

Methods

OnTriggerStayInvokes the custom unity event in response to OnTriggerStay.