/*Public consts fields*/ /*Public fields*/ /*Private methods*/ /// <summary> /// Set values of text component with information about worker /// </summary> private void SetWorkerText() { TextName.text = UIWorkers.GetWorkerNameString(SelectedWorker); SetWorkerAbilitiesText(); TextSalary.text = UIWorkers.GetWorkerSalaryString(SelectedWorker); TextExpierience.text = UIWorkers.GetWorkerExpierienceString(SelectedWorker); TextDaysInCompany.text = UIWorkers.GetWorkerDaysInCompanyString(SelectedWorker); TextSatisfaction.text = UIWorkers.GetWorkerSatisfactionString(SelectedWorker); }
private void OnCompanyWorkerSatisfactionChanged(SharedWorker worker) { TextSatisfaction.text = UIWorkers.GetWorkerSatisfactionString((LocalWorker)worker); }