API Reference
This section contains the full API reference for the com.firesoftworks.interaction.system package.
Namespaces
| Namespace | Description |
|---|---|
FireSoftworks.Interaction | Core interfaces, base classes, and event types |
Core interfaces
IInteractor Contract for player-side interaction: detection, action selection, and execution.
IInteractable Contract for world objects that can surface one or more actions.
IInteractableAction Contract for a single discrete action (Consume, Open, Inspect…).
Base classes
InteractorBase Abstract base providing action management, selection, and event broadcasting. Extend this to create custom interactors.
InteractableAction MonoBehaviour base for component-based actions.
InteractableActionSO ScriptableObject base for reusable, shared-logic actions.
InteractableActionSOWrapper MonoBehaviour wrapper that delegates to an SO while maintaining per-instance state.
Concrete implementations
RaycastInteractor Default interactor using 3D Physics raycasting for target detection.
InteractableTarget Default IInteractable component. Discovers and sorts component and SO actions automatically.
Event args & context
InteractionContext Carries the IInteractor reference through the interaction pipeline.
ActionsDiscoveredEventArgs Payload for actions-discovered events.
ActionSelectionChangedEventArgs Payload for selection-changed events.
ActionExecutedEventArgs Payload for action-executed events.
InteractionLifecycleEventArgs Payload for start/end lifecycle events.
InteractionResult Enum describing the outcome of an action execution.