GameVsJam/3d Prototyp/Assets/Scripts/Interaction/GiveItemInteractible.cs

18 lines
470 B
C#

using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Serialization;
namespace Interaction
{
public class GiveItemInteractible : Interactible
{
[SerializeField] private Developer _developer;
/// <summary>
/// Der Entwickler an den das Item übergeben wird.
/// </summary>
public Developer Developer => _developer;
public override bool IsBlocked() => !GameManager.Instance.Player.CarriesItem;
}
}