UPF/Assets/Game/Scripts/WorldspaceButton.cs
2023-02-24 22:14:55 +05:30

24 lines
385 B
C#
Executable File

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class WorldspaceButton : MonoBehaviour
{
public UnityEvent OnClick;
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void Click(){
OnClick.Invoke();
}
}