Ejemplo n.º 1
0
        public void StartDay()
        {
            dayNightController = PlayController.main.GetDayNightController();

            dayBar.minValue = dayNightController.GetTimerMinValue();
            dayBar.maxValue = dayNightController.GetTimerMaxValue();

            dayBar.value = dayBar.minValue;

            dayString = LocalisationService.GetTranslation(dayStringKey);

            dayStarted = true;
        }
Ejemplo n.º 2
0
 private void Start()
 {
     textField      = GetComponent <TMP_Text>();
     textField.text = LocalisationService.GetTranslation(key);
 }
Ejemplo n.º 3
0
 public string GetTranslation(string pKey)
 {
     return(LocalisationService.GetTranslation(pKey));
 }