f8590432ba
Created assemblies for the new design code. Relocated legacy scripts into a legacy folder and made a "new_design" folder for new design.
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();
|
|
}
|
|
}
|
|
} |