unity-interaction
Installation
SKILL.md
Unity Interaction System
Minimal, generic interaction pattern using interfaces and raycasting.
Core Features
- Interface-Based:
IInteractableworks on any object type - Dual Actions: Primary (E) and Alternative (F) interactions
- Raycast Detection: Automatic target selection based on player facing
- Zero Dependencies: Self-contained, no external skill requirements
Core Files (2 files only)
IInteractable.cs.txt: Core interfaces for interactables and interactorsInteractionController.cs.txt: Raycast-based detection and input handling
Usage
See guide.md for implementation examples.