using UnityEngine; using System.Collections; using TMPro; using UnityEngine.EventSystems; using UnityEngine.UI; [RequireComponent (typeof(Button))] public class MenuButton : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerDownHandler, IPointerUpHandler { private TextMeshProUGUI _txt; private Color _baseColor; private Button _btn; private bool _interactableDelay; private void Start () { _txt = GetComponentInChildren(); _baseColor = _txt.color; _btn = gameObject.GetComponent