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 InteractionLifecycleEventArgsConstructors
InteractionLifecycleEventArgs(IInteractable)
Creates a new InteractionLifecycleEventArgs with the given target.
public InteractionLifecycleEventArgs(IInteractable target)Parameters
| Name | Type | Description |
|---|---|---|
target | FireSoftworks.Interaction.IInteractable | The interactable target. |
Fields
Target
The interactable target involved in this lifecycle event.
public readonly IInteractable Target