32 lines
548 B
C#
32 lines
548 B
C#
using UnityEngine;
|
|
|
|
namespace Interaction
|
|
{
|
|
public enum ItemType
|
|
{
|
|
Mate,
|
|
Coffee,
|
|
Pizza
|
|
}
|
|
|
|
public class PickupInteractible : Interactible
|
|
{
|
|
[SerializeField]
|
|
private GameObject _model;
|
|
|
|
[SerializeField]
|
|
private string _name;
|
|
|
|
[SerializeField]
|
|
private ItemType _itemType;
|
|
|
|
public int UsesLeft = 1;
|
|
|
|
public GameObject Model => _model;
|
|
|
|
public string Name => _name;
|
|
|
|
public ItemType ItemType => _itemType;
|
|
|
|
}
|
|
} |