30 lines
575 B
C#
30 lines
575 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class KeyItem : InteractableItem
|
|
{
|
|
[SerializeField]
|
|
private string keyName;
|
|
public string KeyName { get { return keyName; } }
|
|
|
|
|
|
private void Awake()
|
|
{
|
|
BaseAwake();
|
|
}
|
|
private void Start()
|
|
{
|
|
|
|
}
|
|
public override bool Interact()
|
|
{
|
|
throw new System.NotImplementedException();
|
|
}
|
|
public override bool Interact(ref Inventory inventory,ref HeavyInteractableItem heavyInvent)
|
|
{
|
|
return this.Interact();
|
|
}
|
|
|
|
}
|