using System.Collections;
using System.Collections.Generic;

using TMPro;
using Zenject;
using UnityEngine;

public class OfficeValidation : MonoBehaviour
{
    [Inject] private readonly ClientDataService _clientDataService;

    [SerializeField] private TMP_Text _cityName;

    private void OnEnable()
    {
        if(_clientDataService.data != null)
            _cityName.text = _clientDataService
                .citiesTranslation[_clientDataService.data.city];
    }
}
