// Update is called once per frame void Update() { string dayCycle = controller.IsNight() ? "Night" : "Day"; this.txtClock.text = $"{controller.getHours()} : {controller.getMinutes()} --- {dayCycle}"; }