33 lines
565 B
C#
33 lines
565 B
C#
using UnityEngine;
|
|
|
|
namespace Interaction
|
|
{
|
|
public enum ItemType
|
|
{
|
|
Mate,
|
|
Coffee,
|
|
Pizza,
|
|
Plunger
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
|
} |