31 lines
589 B
C#
31 lines
589 B
C#
using System;
|
|
using UnityEngine;
|
|
namespace Item
|
|
{
|
|
public class KeyItem : InteractableItem
|
|
{
|
|
[SerializeField] private string keyName;
|
|
|
|
public string KeyName => keyName;
|
|
|
|
|
|
private void Awake()
|
|
{
|
|
BaseAwake();
|
|
}
|
|
|
|
private void Start()
|
|
{
|
|
}
|
|
|
|
public override bool Interact()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override bool Interact(ref Inventory inventory, ref HeavyInteractableItem heavyInvent)
|
|
{
|
|
return Interact();
|
|
}
|
|
}
|
|
} |