Exemplo n.º 1
0
 public void UpdateInfo()
 {
     _currentMission       = _missionSelector.GetCurrentMission();
     _nameText.text        = _currentMission?.Name;
     _descriptionText.text = _currentMission?.Description;
     _previewImage.sprite  = _currentMission?.Image;
     _previewImage.color   = Color.white;
 }
Exemplo n.º 2
0
        public void UpdateInfo()
        {
            currentMission = missionSelector.GetCurrentMissionSpecs();

            levelName.text        = currentMission?.Name;
            levelDescription.text = currentMission?.Description;
            levelImage.sprite     = currentMission?.SceneImage;
            levelImage.color      = Color.white;
        }