TriggerEnter


Declaration

public class TriggerEnter : MonoBehaviour

Description

Invokes a custom unity event OnTriggerEnter.

Properties

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

Methods

OnTriggerEnterInvokes the custom unity event in response to OnTriggerEnter.