Skip to content

InteractionLifecycleEventArgs

Namespace: FireSoftworks.Interaction
Assembly: FireSoftworks.Interaction
Type: Class

Event arguments for interaction lifecycle events (start/end). Passed when the player begins or ends focusing on an interactable object.

public class InteractionLifecycleEventArgs

Constructors

InteractionLifecycleEventArgs(IInteractable)

Creates a new InteractionLifecycleEventArgs with the given target.

public InteractionLifecycleEventArgs(IInteractable target)

Parameters

NameTypeDescription
targetFireSoftworks.Interaction.IInteractableThe interactable target.

Fields

Target

The interactable target involved in this lifecycle event.

public readonly IInteractable Target