using TMPro; using UnityEngine; using UnityEngine.UI; namespace BrewMonster.Scripts { public class DebugCmdHistoryListItem : MonoBehaviour { [SerializeField] TMP_Text _label; [SerializeField] Button _btnUse; [SerializeField] Button _btnDelete; private DlgConsole _console; private DebugCmdHistoryStore.Entry _entry; public void Bind(DlgConsole console, DebugCmdHistoryStore.Entry entry) { _console = console; _entry = entry; if (_label == null) _label = GetComponentInChildren(true); if (_btnUse == null) _btnUse = GetComponentInChildren