mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-12 22:44:35 +01:00
29 lines
387 B
C#
29 lines
387 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace MoleMole
|
|
{
|
|
public class MonoKeyButton : MonoBehaviour
|
|
{
|
|
public string KeyButtonCode;
|
|
|
|
public Button button;
|
|
|
|
private void Start()
|
|
{
|
|
}
|
|
|
|
private void DoSomeThing()
|
|
{
|
|
button.onClick.Invoke();
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
if (GlobalVars.KEYBOARD_FUNCTION_BUTTON_CONTROL && button.interactable)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|