17 lines
385 B
C#
17 lines
385 B
C#
using Event.EventArgs;
|
|
using Items.Abstract;
|
|
using Items.Interface;
|
|
using Keyboard;
|
|
using UnityEngine;
|
|
|
|
namespace Items
|
|
{
|
|
public class TestItem : ItemBase , IItem
|
|
{
|
|
protected override void ReceiveEvent(CameraInterActArgs item)
|
|
{
|
|
if(Input.GetKeyDown(KeySettingManager.Instance.GetKey("InterAct")))
|
|
ActivateItem();
|
|
}
|
|
}
|
|
} |