using UnityEngine; namespace Script.Gameplay.Interface { public interface IInteractable { public bool IsEnableInteract { get; set; } string GetInteractPrompt(); // 返回提示文字,例如“按E打开门” void Interact(GameObject interactor); // 当玩家交互时触发 } }