using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Button))] public class UIMonumentButton : MonoBehaviour { [SerializeField] private GameObject _lockPanel; [SerializeField] private TMPro.TextMeshProUGUI _name; private Button _button; private MonumentInfo _info; private MonumentResultController _controller; public void Init(MonumentInfo info) { _info = info; _name.SetText(_info.Name); } private void Awake() { _button = GetComponent