A robust and extensible interaction system for third-person Unity games, designed to manage interactions with objects like chests, doors, NPCs, and in-world UI prompts. Built with modular architecture using ScriptableObjects for event-driven communication and clean separation between gameplay logic, input, and UI systems.
Highlights
Key Features
—Third-person camera system with smooth player-controlled rotation using Cinemachine.
—Modular interaction framework using IInteractable interface and ScriptableObject event channels.
—Visual feedback system with outline highlights and floating UI prompts.
—Event-driven architecture ensuring decoupled communication between systems.
—Example interactable objects including chests, doors, computers, and NPCs.
—Input handling powered by Unity's New Input System with flexible device bindings.
—Billboard UI system that maintains camera-facing orientation.
—Animation integration with DOTween for smooth object interactions.