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

18 lines
470 B
C#
Raw Permalink Normal View History

2024-04-07 00:09:53 +02:00
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;
}
}