using UnityEngine; public class Evidence : MonoBehaviour, IInteractable { public ItemType type; public bool isContraband; public string GetInteractionText(PlayerInteraction player) { // Ha már van nála valami, nem veheti fel if (player.GetHeldEvidence() != null) return "Tele van a kezed!"; return $"Felvétel: {type}"; } public void Interact(PlayerInteraction player) { // Ha üres a keze, odaadjuk neki ezt a tárgyat if (player.GetHeldEvidence() == null) { player.PickUpItem(this); } } }