public void ChangeProgress(IMission mission) { _progressImage.fillAmount = mission.GetMissionProgress() / 100; _progressText.text = Mathf.Floor(mission.GetMissionProgress()) + "%"; _missionExplain.text = mission.GetMissionName(); }
public void SetNewMission(IMission mission, int level) { _missionExplain.text = mission.GetMissionName(); _levelText.text = level.ToString(); ChangeProgress(mission); }
public void MissionFinished(IMission mission) { _missionFinishText.text = mission.GetMissionName(); _missionFinishAnimation.Play(); }