Добавил часы, уменьшил targetFps, поправил обращение к OpenHAB
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class Clock : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
Text clockText;
|
||||
|
||||
void Update()
|
||||
{
|
||||
clockText.text = DateTime.Now.ToString("HH:mm:ss");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user