Class InteractionArea
Defines an interaction area that detects when an Interactor enters or exits its bounds.
public class InteractionArea : MonoBehaviour
Inheritance
Fields
OnInteractorEnter
Invoked when an Interactor enters the interaction area.
[Tooltip("Event triggered when an interactor enters this interaction area.")]
public UnityAction<Interactor> OnInteractorEnter
Field Value
OnInteractorExit
Invoked when an Interactor exits the interaction area.
[Tooltip("Event triggered when an interactor exits this interaction area.")]
public UnityAction<Interactor> OnInteractorExit