예제 #1
0
    // Update is called once per frame
    void Update()
    {
        string dayCycle = controller.IsNight() ? "Night" : "Day";

        this.txtClock.text = $"{controller.getHours()} : {controller.getMinutes()}  --- {dayCycle}";
    }