Skip to main content

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​

UnityAction<Interactor>

OnInteractorExit​

Invoked when an Interactor exits the interaction area.

[Tooltip("Event triggered when an interactor exits this interaction area.")]
public UnityAction<Interactor> OnInteractorExit

Field Value​

UnityAction<Interactor>

  • Fields
    • OnInteractorEnter
    • OnInteractorExit