VGDC 2025-2026 Club Game
Loading...
Searching...
No Matches
Interactable.InteractableEvents Class Reference

Data Fields

UnityEvent OnInteractionEnter
UnityEvent OnInteractionStay
UnityEvent OnFocusEnter
UnityEvent OnFocusStay
UnityEvent OnFocusExit
UnityEvent OnInteractionExecuted
UnityEvent OnInteractionExit

Field Documentation

◆ OnFocusEnter

UnityEvent Interactable.InteractableEvents.OnFocusEnter

Executes Once

Will execute if the object is the closest to the player

◆ OnFocusExit

UnityEvent Interactable.InteractableEvents.OnFocusExit

Executes Once

Will execute when the object no longer is the closest to the player

◆ OnFocusStay

UnityEvent Interactable.InteractableEvents.OnFocusStay

Executes every frame if on range

Will run if the object is the closest to the player on the frame

◆ OnInteractionEnter

UnityEvent Interactable.InteractableEvents.OnInteractionEnter

Executes Once

Will trigger only once when the player enters the range of the interactable

◆ OnInteractionExecuted

UnityEvent Interactable.InteractableEvents.OnInteractionExecuted

Executes Per Input

Once the player hits the interaction key, this will execute

◆ OnInteractionExit

UnityEvent Interactable.InteractableEvents.OnInteractionExit

Executes Once

Will execute when the player interaction radious no longer reaches the object

◆ OnInteractionStay

UnityEvent Interactable.InteractableEvents.OnInteractionStay

Executes every frame if on range

Will run if the player interaction radius is in range


The documentation for this class was generated from the following file: