public void Bind(int index) { _index = index; _icon.image = HistoryList.GetIcon(_index); _label.text = HistoryList.GetName(_index); _label.EnableInClassList(CurrentListItemUssClassName, _index == HistoryList.Current); }