29 lines
491 B
C#
29 lines
491 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
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();
|
|
}
|
|
} |