using System; using System.Collections; using System.Collections.Generic; using cfg; using TMPro; using UnityEngine; using UnityEngine.UI; public class BuildButton : MonoBehaviour { public BuildEnum build; [SerializeField] private HomePanel _homePanel; [SerializeField] private Button _button; [SerializeField] private TextMeshProUGUI _textMeshProUGUI; [SerializeField] private GameObject name; [SerializeField] private GameObject upImage; private bool eventOpen; private void Awake() { _button = GetComponent