2024-10-19 02:54:12 +03:00

26 lines
393 B
C#

using UnityEngine;
using UnityEngine.Events;
namespace Interactive
{
public class Button : MonoBehaviour, IInteractable
{
public UnityEvent OnClickEvent;
public void Interact()
{
OnClickEvent.Invoke();
}
public void LookAt()
{
}
public void LookOut()
{
}
}
}