2024-02-19 21:00:36 +03:00

16 lines
282 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
using UnityEngine.Events;
public class Button : MonoBehaviour, IInteractable
{
public UnityEvent OnClickEvent;
public void Interact()
{
OnClickEvent.Invoke();
}
}