HoldToActivate

Description

Detects when this object is overlapping with a set collider to trigger events. Useful for non-raycast UI interactions when you want to prevent the user from accidentally clicking a button and triggering It's functionality randomly. Sound and visual triggers for these interactions can also be easily set up here.

Unity events

  • UnityEvent OnHoldStart

  • UnityEvent OnHoldCompleted

  • UnityEvent OnHoldCancelled

Last updated