public void ShowItem(MissionItem item) { HideCurrentItem(); _currentItem = item; item.Focus(); _missionNameText.text = item.GetMissionName(); _missionTargetDescriptionText.text = item.GetMissionTarget(); _missionDescriptionText.text = item.GetMissionDescription(); }
public void HidePage() { _pageDisplayPanel.SetActive(false); foreach (var item in _items) { item.gameObject.SetActive(false); } HideCurrentItem(); ClearText(); _currentItem = null; }