using UnityEngine; /// /// Interface for any object that the player can interact with. /// public interface IInteractable { /// /// Called when the player interacts with this object (e.g. Left Click). /// /// The GameObject that initiated the interaction. void Interact(GameObject interactor); /// /// Returns the prompt description to display on HUD (e.g. "Open Door", "Pick up Key"). /// string GetPrompt(); }