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() { } } }