26 lines
393 B
C#
Raw Permalink Normal View History

2024-10-17 23:09:51 +03:00
using UnityEngine;
using UnityEngine.Events;
namespace Interactive
{
public class Button : MonoBehaviour, IInteractable
{
public UnityEvent OnClickEvent;
public void Interact()
{
OnClickEvent.Invoke();
}
2024-10-19 02:54:12 +03:00
public void LookAt()
{
}
public void LookOut()
{
}
2024-10-17 23:09:51 +03:00
}
}